Skip to content

Commit 3e0edd8

Browse files
authoredDec 11, 2018
Mention HTTPError body property in docs
1 parent aa4c9a6 commit 3e0edd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ When `json` option is enabled, server response code is 2xx, and `JSON.parse` fai
693693

694694
#### got.HTTPError
695695

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

698698
#### got.MaxRedirectsError
699699

0 commit comments

Comments
 (0)
Please sign in to comment.