class documentation
class PaperCreateError(PaperContentError): (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 files.PaperCreateError.invalid_path: The file could not be saved to the specified location. :ivar files.PaperCreateError.email_unverified: The user's email must be verified to create Paper docs. :ivar files.PaperCreateError.invalid_file_extension: The file path must end in .paper. :ivar files.PaperCreateError.paper_disabled: Paper is disabled for your team.
Method | is |
Check if the union tag is ``email_unverified``. |
Method | is |
Check if the union tag is ``invalid_file_extension``. |
Method | is |
Check if the union tag is ``invalid_path``. |
Method | is |
Check if the union tag is ``paper_disabled``. |
Class Variable | email |
Undocumented |
Class Variable | invalid |
Undocumented |
Class Variable | invalid |
Undocumented |
Class Variable | paper |
Undocumented |
Method | _process |
Undocumented |
Inherited from PaperContentError
:
Method | is |
Check if the union tag is ``content_malformed``. |
Method | is |
Check if the union tag is ``doc_length_exceeded``. |
Method | is |
Check if the union tag is ``image_size_exceeded``. |
Method | is |
Check if the union tag is ``insufficient_permissions``. |
Method | is |
Check if the union tag is ``other``. |
Class Variable | content |
Undocumented |
Class Variable | doc |
Undocumented |
Class Variable | image |
Undocumented |
Class Variable | insufficient |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | _catch |
Undocumented |