Skip to content

Commit 7311fe3

Browse files
use SonicBitError as base error
1 parent 1ce21fe commit 7311fe3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

sonicbit/error/auth_error.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
class AuthError(Exception):
2-
def __init__(self, message: str):
3-
self.message = message
4-
super().__init__(self.message)
1+
from sonicbit.error.error import SonicBitError
2+
3+
4+
class AuthError(SonicBitError):
5+
pass

0 commit comments

Comments
 (0)