Skip to content

Commit 8fa6cb8

Browse files
committed
Fix import error: Add Exceptions wrapper class
1 parent 995fb51 commit 8fa6cb8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tappay/exceptions.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,12 @@ class AuthenticationError(ClientError):
2020
"""Error raised when authentication fails."""
2121

2222
pass
23+
24+
25+
class Exceptions:
26+
"""Namespace for TapPay exceptions (for backward compatibility)."""
27+
28+
Error = Error
29+
ClientError = ClientError
30+
ServerError = ServerError
31+
AuthenticationError = AuthenticationError

0 commit comments

Comments
 (0)