class documentation
class LegalHoldsListHeldRevisionsError(LegalHoldsError): (source)
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.LegalHoldsListHeldRevisionsError.transient_error: Temporary infrastructure failure, please retry. :ivar team.LegalHoldsListHeldRevisionsError.legal_hold_still_empty: The legal hold is not holding any revisions yet. :ivar team.LegalHoldsListHeldRevisionsError.inactive_legal_hold: Trying to list revisions for an inactive legal hold.
Method | is |
Check if the union tag is ``inactive_legal_hold``. |
Method | is |
Check if the union tag is ``legal_hold_still_empty``. |
Method | is |
Check if the union tag is ``transient_error``. |
Class Variable | inactive |
Undocumented |
Class Variable | legal |
Undocumented |
Class Variable | transient |
Undocumented |
Method | _process |
Undocumented |
Inherited from LegalHoldsError
:
Method | is |
Check if the union tag is ``insufficient_permissions``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``unknown_legal_hold_error``. |
Class Variable | insufficient |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | unknown |
Undocumented |
Class Variable | _catch |
Undocumented |