class documentation

class CreateFileRequestError(FileRequestError): (source)

View In Hierarchy

There was an error creating the file request. 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 file_requests.CreateFileRequestError.invalid_location: File requests are not available on the specified folder. :ivar file_requests.CreateFileRequestError.rate_limit: The user has reached the rate limit for creating file requests. The limit is currently 4000 file requests total.

Method is_invalid_location Check if the union tag is ``invalid_location``.
Method is_rate_limit Check if the union tag is ``rate_limit``.
Class Variable invalid_location Undocumented
Class Variable rate_limit Undocumented
Method _process_custom_annotations Undocumented

Inherited from FileRequestError:

Method is_app_lacks_access Check if the union tag is ``app_lacks_access``.
Method is_email_unverified Check if the union tag is ``email_unverified``.
Method is_no_permission Check if the union tag is ``no_permission``.
Method is_not_a_folder Check if the union tag is ``not_a_folder``.
Method is_not_found Check if the union tag is ``not_found``.
Method is_validation_error Check if the union tag is ``validation_error``.
Class Variable app_lacks_access Undocumented
Class Variable email_unverified Undocumented
Class Variable no_permission Undocumented
Class Variable not_a_folder Undocumented
Class Variable not_found Undocumented
Class Variable validation_error Undocumented

Inherited from GeneralFileRequestsError (via FileRequestError):

Method is_disabled_for_team Check if the union tag is ``disabled_for_team``.
Method is_other Check if the union tag is ``other``.
Class Variable disabled_for_team Undocumented
Class Variable other Undocumented
Class Variable _catch_all Undocumented
def is_invalid_location(self): (source)

Check if the union tag is ``invalid_location``. :rtype: bool

def is_rate_limit(self): (source)

Check if the union tag is ``rate_limit``. :rtype: bool

invalid_location = (source)

Undocumented

rate_limit = (source)

Undocumented

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)