We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e63aeb2 commit c2d288aCopy full SHA for c2d288a
bunq/sdk/exception.py
@@ -1,10 +1,12 @@
1
class ApiException(Exception):
2
- def __init__(self, message, response_code):
+ def __init__(self, message, response_code, response_id):
3
"""
4
+ :type response_id: str
5
:type message: str
6
:type response_code: int
7
8
9
+ self._response_id = response_id
10
self._message = message
11
self._response_code = response_code
12
@@ -26,6 +28,10 @@ def response_code(self):
26
28
27
29
return self._response_code
30
31
+ @property
32
+ def response_id(self):
33
+ return self._response_id
34
+
35
36
class BunqException(Exception):
37
def __init__(self, message):
0 commit comments