Skip to content

Commit 27b48f5

Browse files
author
Kevin Hellemun
committed
Fixed headers.
1 parent d030982 commit 27b48f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

EXCEPTIONS.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
##Exceptions
1+
## Exceptions
22

33
When you make a request via the SDK, there is a chance of request failing
44
due to various reasons. When such a failure happens, an exception
55
corresponding to the error occurred is raised.
66

77

88
----
9-
####Possible Exceptions
9+
#### Possible Exceptions
1010

1111
* `BadRequestException` If the request returns with status code `400`
1212
* `UnauthorizedException` If the request returns with status code `401`
@@ -23,7 +23,7 @@ For more information regarding these errors, please take a look on the documenta
2323
page here: https://doc.bunq.com/api/1/page/errors
2424

2525
---
26-
####Base exception
26+
#### Base exception
2727
All the exceptions have the same base exception which looks like this:
2828
```python
2929
class ApiException(Exception):
@@ -50,7 +50,7 @@ This means that each exception will have the response code and the error message
5050
related to the specific exception that has been raised.
5151

5252
---
53-
####Exception handling
53+
#### Exception handling
5454
Because we raise different exceptions for each error, you can catch an error
5555
if you expect it to be raised.
5656

0 commit comments

Comments
 (0)