Skip to content

Commit 480b1cf

Browse files
committed
docs: add entity verify failed error documentation
1 parent ea5ffde commit 480b1cf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,13 @@ parsed by the middleware. The `status` property is set to `400`, the `type`
307307
property is set to `'entity.parse.failed'`, and the `body` property is set to
308308
the entity value that failed parsing.
309309

310+
### entity verify failed
311+
312+
This error will occur when the request contained an entity that could not be
313+
failed verification by the defined `verify` option. The `status` property is
314+
set to `403`, the `type` property is set to `'entity.verify.failed'`, and the
315+
`body` property is set to the entity value that failed verification.
316+
310317
### request aborted
311318

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

0 commit comments

Comments
 (0)