class BaseTeamFolderError(bb.Union): (source)
Known subclasses: dropbox.team.TeamFolderActivateError
, dropbox.team.TeamFolderArchiveError
, dropbox.team.TeamFolderPermanentlyDeleteError
, dropbox.team.TeamFolderRenameError
, dropbox.team.TeamFolderUpdateSyncSettingsError
Base error that all errors for existing team folders should extend. 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 | status |
Create an instance of this class set to the ``status_error`` tag with value ``val``. |
Class Method | team |
Create an instance of this class set to the ``team_shared_dropbox_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_status_error` is true. |
Method | get |
Only call this if :meth:`is_team_shared_dropbox_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 ``status_error``. |
Method | is |
Check if the union tag is ``team_shared_dropbox_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 TeamFolderAccessError val: :rtype: BaseTeamFolderError
Create an instance of this class set to the ``status_error`` tag with value ``val``. :param TeamFolderInvalidStatusError val: :rtype: BaseTeamFolderError
Create an instance of this class set to the ``team_shared_dropbox_error`` tag with value ``val``. :param TeamFolderTeamSharedDropboxError val: :rtype: BaseTeamFolderError
Only call this if :meth:`is_team_shared_dropbox_error` is true. :rtype: TeamFolderTeamSharedDropboxError