Skip to content

Commit

Permalink
added base exceptin
Browse files Browse the repository at this point in the history
  • Loading branch information
parthraut committed Mar 8, 2024
1 parent a55a310 commit c764a89
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions zeus/exception.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
class ZeusBaseException(Exception):
"""Zeus base exception class."""

def __init__(self, message: str) -> None:
self.message = message
super().__init__(message)

def __str__(self) -> str:
return self.message

0 comments on commit c764a89

Please sign in to comment.