class documentation
class PaperApiCursorError(bb.Union): (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 paper.PaperApiCursorError.expired_cursor: The provided cursor is expired. :ivar paper.PaperApiCursorError.invalid_cursor: The provided cursor is invalid. :ivar paper.PaperApiCursorError.wrong_user_in_cursor: The provided cursor contains invalid user. :ivar paper.PaperApiCursorError.reset: Indicates that the cursor has been invalidated. Call the corresponding non-continue endpoint to obtain a new cursor.
Method | is |
Check if the union tag is ``expired_cursor``. |
Method | is |
Check if the union tag is ``invalid_cursor``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``reset``. |
Method | is |
Check if the union tag is ``wrong_user_in_cursor``. |
Class Variable | expired |
Undocumented |
Class Variable | invalid |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | reset |
Undocumented |
Class Variable | wrong |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |