Skip to content

Commit

Permalink
note about statusCode/statusMessage props in error
Browse files Browse the repository at this point in the history
  • Loading branch information
floatdrop committed Mar 3, 2016
1 parent 45e758e commit db7f0a0
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 @@ -164,7 +164,7 @@ Sets `options.method` to the method name and makes a request.

## Errors

Each error contains (if available) `host`, `hostname`, `method` and `path` properties to make debugging easier.
Each error contains (if available) `statusCode`, `statusMessage`, `host`, `hostname`, `method` and `path` properties to make debugging easier.

In Promise mode, the `response` is attached to the error.

Expand Down

0 comments on commit db7f0a0

Please sign in to comment.