class documentation
class UnshareFileError(bb.Union): (source)
Error result for :meth:`dropbox.dropbox_client.Dropbox.sharing_unshare_file`. This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.
Class Method | access |
Create an instance of this class set to the ``access_error`` tag with value ``val``. |
Class Method | user |
Create an instance of this class set to the ``user_error`` tag with value ``val``. |
Method | get |
Only call this if :meth:`is_access_error` is true. |
Method | get |
Only call this if :meth:`is_user_error` is true. |
Method | is |
Check if the union tag is ``access_error``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``user_error``. |
Class Variable | other |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``access_error`` tag with value ``val``. :param SharingFileAccessError val: :rtype: UnshareFileError
Create an instance of this class set to the ``user_error`` tag with value ``val``. :param SharingUserError val: :rtype: UnshareFileError