diff options
author | BonfaceKilz | 2021-02-12 21:16:06 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-02-12 21:16:06 +0300 |
commit | 2b6652a703a89514244cc6961b4ccbee2a839cbd (patch) | |
tree | e9c6b6a11e26c424774150c2d44b85e29ee490eb | |
parent | 13402f65d54e77645879c13c3bc396d2b9735061 (diff) | |
download | genenetwork3-2b6652a703a89514244cc6961b4ccbee2a839cbd.tar.gz |
Add custom gn3 exceptions
-rw-r--r-- | gn3/exceptions.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gn3/exceptions.py b/gn3/exceptions.py new file mode 100644 index 0000000..3f595dd --- /dev/null +++ b/gn3/exceptions.py @@ -0,0 +1,9 @@ +"""GN3 custom exceptions""" + + +class FailedToQueue(Exception): + """Raised when a queueing operation fails""" + + +class RedisConnectionError(ConnectionError): + """Raised when there is no Redis connection""" |