""" Define a few exceptions types to be used. """ class WrongAction(Exception): """ Exception to be raised when a player performs an action that is not permitted. """ class UnsupportedLanguage(Exception): """ Exception to be raised when trying to join a game in a language that is not supported. """ class JoinError(Exception): """ Exception to be raised when a game/room cannot be joined. """