Skip to content

Commit fc99e6b

Browse files
committed
override str method for custom exception
1 parent 4179e49 commit fc99e6b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

apimatic_core/exceptions/signature_verification_error.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ class SignatureVerificationError(Exception):
99
def __init__(self, message):
1010
self.message = message
1111
super().__init__(self.message)
12+
13+
def __str__(self):
14+
return self.message

0 commit comments

Comments
 (0)