Skip to content

Commit

Permalink
Add base exception
Browse files Browse the repository at this point in the history
  • Loading branch information
frwickst committed Dec 27, 2023
1 parent 7ff3f12 commit 1226ad4
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions huum/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
class SafetyException(Exception):
class HuumError(Exception):
pass


class BadRequest(Exception):
class SafetyException(HuumError):
pass


class NotAuthenticated(Exception):
class BadRequest(HuumError):
pass


class RequestError(Exception):
class NotAuthenticated(HuumError):
pass


class RequestError(HuumError):
pass

0 comments on commit 1226ad4

Please sign in to comment.