From ec890f80cc0491b8109eb9ae8d4c27c721900156 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Fri, 22 Oct 2021 22:03:33 +0800 Subject: Reformat exceptions.py with black --- jimbrella/exceptions.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'jimbrella') 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 -- cgit v1.2.3