Skip to content

Commit

Permalink
Fixed README formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bpross committed Feb 25, 2018
1 parent 16981b3 commit f9f4d40
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,12 +319,12 @@ order_book.close()
Error handling has been added in version 2.0. Currently, the only HTTP error codes that
are handled are the ones documented on the GDAX API error section: [here](https://docs.gdax.com/?python#errors)

HTTP STATUS CODE 400: Raises InvalidGdaxRequest
HTTP STATUS CODE 401: Raises UnauthorizedGdaxRequest
HTTP STATUS CODE 403: Raises ForbiddenGdaxRequest
HTTP STATUS CODE 404: Raises NotFoundGdaxRequest
HTTP STATUS CODE 4XX: Raises UnknownGDAXClientRequest
HTTP STATUS CODE 5XX: Raises InternalErrorGdaxRequest
- HTTP STATUS CODE 400: Raises InvalidGdaxRequest
- HTTP STATUS CODE 401: Raises UnauthorizedGdaxRequest
- HTTP STATUS CODE 403: Raises ForbiddenGdaxRequest
- HTTP STATUS CODE 404: Raises NotFoundGdaxRequest
- HTTP STATUS CODE 4XX: Raises UnknownGDAXClientRequest
- HTTP STATUS CODE 5XX: Raises InternalErrorGdaxRequest

All HTTP requests from both the public client and authenticated client run through `_determine_response`, which
either returns the JSON body or raises the appropriate error.
Expand All @@ -334,7 +334,7 @@ Please consider creating new Exception classes and mapping as Gdax error states

## Change Log
*2.0*
- Added error handling to all HTTP requests [Error Handling Docs](#Error Handling)
- Added error handling to all HTTP requests [Error Handling Docs](#error-handling)

*1.0* **Current PyPI release**
- The first release that is not backwards compatible
Expand Down

0 comments on commit f9f4d40

Please sign in to comment.