Skip to content

Commit

Permalink
Mention HTTPError body property in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
szmarczak committed Dec 11, 2018
1 parent aa4c9a6 commit 3e0edd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ When `json` option is enabled, server response code is 2xx, and `JSON.parse` fai

#### got.HTTPError

When the server response code is not 2xx. Includes `statusCode`, `statusMessage`, and `redirectUrls` properties.
When the server response code is not 2xx. Includes `body`, `statusCode`, `statusMessage`, and `redirectUrls` properties.

#### got.MaxRedirectsError

Expand Down

0 comments on commit 3e0edd8

Please sign in to comment.