class TokenGetAuthenticatedAdminError(bb.Union): (source)
Error returned by :meth:`dropbox.dropbox_client.Dropbox.team_token_get_authenticated_admin`. 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 team.TokenGetAuthenticatedAdminError.mapping_not_found: The current token is not associated with a team admin, because mappings were not recorded when the token was created. Consider re-authorizing a new access token to record its authenticating admin. :ivar team.TokenGetAuthenticatedAdminError.admin_not_active: Either the team admin that authorized this token is no longer an active member of the team or no longer a team admin.
Method | is |
Check if the union tag is ``admin_not_active``. |
Method | is |
Check if the union tag is ``mapping_not_found``. |
Method | is |
Check if the union tag is ``other``. |
Class Variable | admin |
Undocumented |
Class Variable | mapping |
Undocumented |
Class Variable | other |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |