class documentation

class PaperFolderCreateError(PaperApiBaseError): (source)

View In Hierarchy

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 paper.PaperFolderCreateError.folder_not_found: The specified parent Paper folder cannot be found. :ivar paper.PaperFolderCreateError.invalid_folder_id: The folder id cannot be decrypted to valid folder id.

Method is_folder_not_found Check if the union tag is ``folder_not_found``.
Method is_invalid_folder_id Check if the union tag is ``invalid_folder_id``.
Class Variable folder_not_found Undocumented
Class Variable invalid_folder_id Undocumented
Method _process_custom_annotations Undocumented

Inherited from PaperApiBaseError:

Method is_insufficient_permissions Check if the union tag is ``insufficient_permissions``.
Method is_other Check if the union tag is ``other``.
Class Variable insufficient_permissions Undocumented
Class Variable other Undocumented
Class Variable _catch_all Undocumented
def is_folder_not_found(self): (source)

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

def is_invalid_folder_id(self): (source)

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

folder_not_found = (source)

Undocumented

invalid_folder_id = (source)

Undocumented

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