Skip to content

Commit

Permalink
docs: add entity verify failed error documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Mar 26, 2020
1 parent ea5ffde commit 480b1cf
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 @@ -307,6 +307,13 @@ 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.

### entity verify failed

This error will occur when the request contained an entity that could not be
failed verification by the defined `verify` option. The `status` property is
set to `403`, the `type` property is set to `'entity.verify.failed'`, and the
`body` property is set to the entity value that failed verification.

### request aborted

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

0 comments on commit 480b1cf

Please sign in to comment.