2022-01-12 16:12:07 -05:00
|
|
|
class Impossible(Exception):
|
|
|
|
"""Exception raised when an action is impossible to be performed.
|
|
|
|
|
|
|
|
The reason is given as the exception message.
|
2022-01-18 14:04:05 -05:00
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
class QuitWithoutSaving(SystemExit):
|
2022-02-08 10:00:28 -05:00
|
|
|
"""Can be raised to exit the game without automatically saving."""
|