1
0
python-roguelike/exceptions.py

5 lines
157 B
Python

class Impossible(Exception):
"""Exception raised when an action is impossible to be performed.
The reason is given as the exception message.
"""