add custom errors!
This commit is contained in:
6
Adventure Game/adventure_game/errors.py
Normal file
6
Adventure Game/adventure_game/errors.py
Normal file
@@ -0,0 +1,6 @@
|
||||
class ItemAlreadyTaken(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class ItemRequired(Exception):
|
||||
pass
|
||||
Reference in New Issue
Block a user