Skip to content

Commit 7568934

Browse files
author
Kevin Hellemun
committed
Added error constant in case response id header retrieval fails. (#59)
1 parent e036aef commit 7568934

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

bunq/sdk/client.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ class ApiClient(object):
1515
:type _api_context: bunq.sdk.context.ApiContext
1616
"""
1717

18+
# Error constants
19+
_ERROR_COULD_NOT_DETERMINE_RESPONSE_ID_HEADER = ('The response header'
20+
'"X-Bunq-Client-Response-'
21+
'Id" or "x-bunq-client-'
22+
'response-id" could not '
23+
'be found.')
24+
1825
# Endpoints not requiring active session for the request to succeed.
1926
_URL_DEVICE_SERVER = 'device-server'
2027
_URI_INSTALLATION = 'installation'

0 commit comments

Comments
 (0)