whist_core.error.table_error

Errors regarding table logic.

Module Contents

exception whist_core.error.table_error.TableSettingsError

Bases: Exception

Thrown if the table is not setup correctly.

exception whist_core.error.table_error.TableFullError

Bases: Exception

Thrown if the table is already full.

exception whist_core.error.table_error.TeamFullError

Bases: Exception

Thrown if the team is already full.

exception whist_core.error.table_error.TableNotReadyError

Bases: Exception

Is raised when a table requires all player to be ready, but at least one is not.

exception whist_core.error.table_error.TableNotStartedError

Bases: Exception

Is raised when a table is expected to have started, but it wasn’t. Similar to TableNotReadyError.

exception whist_core.error.table_error.PlayerNotJoinedError

Bases: Exception

Raised if a player has not yet joined the table.