diff options
author | Frederick Yin <fkfd@fkfd.me> | 2021-10-22 22:03:33 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2021-10-22 22:03:33 +0800 |
commit | ec890f80cc0491b8109eb9ae8d4c27c721900156 (patch) | |
tree | e27d741806fe374b3a73a6472030cbddce053ca6 /jimbrella | |
parent | 7e791b33e57d8065c2b059625230d356f1f3b29a (diff) |
Reformat exceptions.py with black
Diffstat (limited to 'jimbrella')
-rw-r--r-- | jimbrella/exceptions.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/jimbrella/exceptions.py b/jimbrella/exceptions.py index 3b7fa4c..3162e02 100644 --- a/jimbrella/exceptions.py +++ b/jimbrella/exceptions.py @@ -1,6 +1,9 @@ """Defines a few application-specific exceptions for Pythonic code.""" + + class UmbrellaNotFoundError(Exception): """For when an umbrella with required serial is not found in database.""" + pass @@ -8,4 +11,5 @@ class UmbrellaStatusError(Exception): """For when the umbrella to be lent is not available, or when an umbrella to be returned has never been taken away. Most likely duplicate or erroneous answer sheets submitted by user. """ + pass |