class documentation

class PaperAccessError(bb.Union): (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 auth.PaperAccessError.paper_disabled: Paper is disabled. :ivar auth.PaperAccessError.not_paper_user: The provided user has not used Paper yet.

Method is_not_paper_user Check if the union tag is ``not_paper_user``.
Method is_other Check if the union tag is ``other``.
Method is_paper_disabled Check if the union tag is ``paper_disabled``.
Class Variable not_paper_user Undocumented
Class Variable other Undocumented
Class Variable paper_disabled Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_not_paper_user(self): (source)

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

def is_other(self): (source)

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

def is_paper_disabled(self): (source)

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

not_paper_user = (source)

Undocumented

Undocumented

paper_disabled = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented