class documentation

class ListUsersCursorError(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.ListUsersCursorError.doc_not_found: The required doc was not found.

Class Method cursor_error Create an instance of this class set to the ``cursor_error`` tag with value ``val``.
Method get_cursor_error Only call this if :meth:`is_cursor_error` is true.
Method is_cursor_error Check if the union tag is ``cursor_error``.
Method is_doc_not_found Check if the union tag is ``doc_not_found``.
Class Variable doc_not_found 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
@classmethod
def cursor_error(cls, val): (source)

Create an instance of this class set to the ``cursor_error`` tag with value ``val``. :param PaperApiCursorError val: :rtype: ListUsersCursorError

def get_cursor_error(self): (source)

Only call this if :meth:`is_cursor_error` is true. :rtype: PaperApiCursorError

def is_cursor_error(self): (source)

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

def is_doc_not_found(self): (source)

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

doc_not_found = (source)

Undocumented

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