gamesheet_sdk.common.exceptions¶
Exceptions raised by gamesheet_sdk.
The hierarchy is intentionally small: a single base class so callers can except GameSheetError to catch
anything this SDK raises. More specific subclasses will be added as concrete failure modes appear.
Exceptions
Raised when authentication against the GameSheet WebUI fails. |
|
Base class for every exception raised by |
- exception gamesheet_sdk.common.exceptions.GameSheetError[source]¶
Bases:
ExceptionBase class for every exception raised by
gamesheet_sdk.- __init__(*args, **kwargs)¶
- classmethod __new__(*args, **kwargs)¶
- add_note()¶
Exception.add_note(note) – add a note to the exception
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception gamesheet_sdk.common.exceptions.AuthenticationError[source]¶
Bases:
GameSheetErrorRaised when authentication against the GameSheet WebUI fails.
Covers both missing/incomplete credentials and active server-side rejection (the submit form does not redirect off the sign-in page within the allotted timeout).
- __init__(*args, **kwargs)¶
- classmethod __new__(*args, **kwargs)¶
- add_note()¶
Exception.add_note(note) – add a note to the exception
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.