whist_core.error.table_error
Errors regarding table logic.
Exceptions
Thrown if the table is not setup correctly. |
|
Thrown if the table is already full. |
|
Thrown if the team is already full. |
|
Is raised when a table requires all player to be ready, but at least one is not. |
|
Is raised when a table is expected to have started, but it wasn't. Similar to |
|
Raised if a player has not yet joined the table. |
Module Contents
- exception whist_core.error.table_error.TableSettingsError
Bases:
ExceptionThrown if the table is not setup correctly.
- exception whist_core.error.table_error.TableFullError
Bases:
ExceptionThrown if the table is already full.
- exception whist_core.error.table_error.TeamFullError
Bases:
ExceptionThrown if the team is already full.
- exception whist_core.error.table_error.TableNotReadyError
Bases:
ExceptionIs raised when a table requires all player to be ready, but at least one is not.
- exception whist_core.error.table_error.TableNotStartedError
Bases:
ExceptionIs raised when a table is expected to have started, but it wasn’t. Similar to TableNotReadyError.
- exception whist_core.error.table_error.PlayerNotJoinedError
Bases:
ExceptionRaised if a player has not yet joined the table.