Skip to content

Commit

Permalink
docs: add entity parse failed error documentation
Browse files Browse the repository at this point in the history
closes #378
  • Loading branch information
HopefulLlama authored and dougwilson committed Mar 26, 2020
1 parent 0b58196 commit ea5ffde
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,13 @@ contained an encoding but the "inflation" option was set to `false`. The
`'encoding.unsupported'`, and the `charset` property will be set to the
encoding that is unsupported.

### entity parse failed

This error will occur when the request contained an entity that could not be
parsed by the middleware. The `status` property is set to `400`, the `type`
property is set to `'entity.parse.failed'`, and the `body` property is set to
the entity value that failed parsing.

### request aborted

This error will occur when the request is aborted by the client before reading
Expand Down

0 comments on commit ea5ffde

Please sign in to comment.