class JobError(bb.Union): (source)
Error occurred while performing an asynchronous job from :meth:`dropbox.dropbox_client.Dropbox.sharing_unshare_folder` or :meth:`dropbox.dropbox_client.Dropbox.sharing_remove_folder_member`. 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. :ivar UnshareFolderError JobError.unshare_folder_error: Error occurred while performing :meth:`dropbox.dropbox_client.Dropbox.sharing_unshare_folder` action. :ivar RemoveFolderMemberError JobError.remove_folder_member_error: Error occurred while performing :meth:`dropbox.dropbox_client.Dropbox.sharing_remove_folder_member` action. :ivar RelinquishFolderMembershipError JobError.relinquish_folder_membership_error: Error occurred while performing :meth:`dropbox.dropbox_client.Dropbox.sharing_relinquish_folder_membership` action.
Class Method | relinquish |
Create an instance of this class set to the ``relinquish_folder_membership_error`` tag with value ``val``. |
Class Method | remove |
Create an instance of this class set to the ``remove_folder_member_error`` tag with value ``val``. |
Class Method | unshare |
Create an instance of this class set to the ``unshare_folder_error`` tag with value ``val``. |
Method | get |
Error occurred while performing :meth:`dropbox.dropbox_client.Dropbox.sharing_relinquish_folder_membership` action. |
Method | get |
Error occurred while performing :meth:`dropbox.dropbox_client.Dropbox.sharing_remove_folder_member` action. |
Method | get |
Error occurred while performing :meth:`dropbox.dropbox_client.Dropbox.sharing_unshare_folder` action. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``relinquish_folder_membership_error``. |
Method | is |
Check if the union tag is ``remove_folder_member_error``. |
Method | is |
Check if the union tag is ``unshare_folder_error``. |
Class Variable | other |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``relinquish_folder_membership_error`` tag with value ``val``. :param RelinquishFolderMembershipError val: :rtype: JobError
Create an instance of this class set to the ``remove_folder_member_error`` tag with value ``val``. :param RemoveFolderMemberError val: :rtype: JobError
Create an instance of this class set to the ``unshare_folder_error`` tag with value ``val``. :param UnshareFolderError val: :rtype: JobError
Error occurred while performing :meth:`dropbox.dropbox_client.Dropbox.sharing_relinquish_folder_membership` action. Only call this if :meth:`is_relinquish_folder_membership_error` is true. :rtype: RelinquishFolderMembershipError
Error occurred while performing :meth:`dropbox.dropbox_client.Dropbox.sharing_remove_folder_member` action. Only call this if :meth:`is_remove_folder_member_error` is true. :rtype: RemoveFolderMemberError
Error occurred while performing :meth:`dropbox.dropbox_client.Dropbox.sharing_unshare_folder` action. Only call this if :meth:`is_unshare_folder_error` is true. :rtype: UnshareFolderError