Skip to content

Commit

Permalink
ADD: rubber not done error
Browse files Browse the repository at this point in the history
Signed-off-by: Segelzwerg <25705862+Segelzwerg@users.noreply.github.com>
  • Loading branch information
Segelzwerg committed Oct 26, 2022
1 parent 8082c09 commit 0570303
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions whist_core/game/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ class NoTrumpSelectedError(Exception):
"""


class RubberNotDoneError(Exception):
"""
Raised if the current rubber is not done, but action requested requires it to be done.
"""


class TrickDoneError(Exception):
"""
Raised when the trick is already done.
Expand Down

0 comments on commit 0570303

Please sign in to comment.