From 66279c3bec6ddc002cc0b1cfb0e90f0770547d1b Mon Sep 17 00:00:00 2001 From: Joe S <31870999+KenwoodFox@users.noreply.github.com> Date: Fri, 26 Feb 2021 22:13:32 -0500 Subject: [PATCH] add custom errors! --- Adventure Game/adventure_game/errors.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Adventure Game/adventure_game/errors.py diff --git a/Adventure Game/adventure_game/errors.py b/Adventure Game/adventure_game/errors.py new file mode 100644 index 0000000..ba772be --- /dev/null +++ b/Adventure Game/adventure_game/errors.py @@ -0,0 +1,6 @@ +class ItemAlreadyTaken(Exception): + pass + + +class ItemRequired(Exception): + pass