unify-fastify
v1.5.345
Published
[](https://codeclimate.com/github/qlaffont/unify-fastify/test_coverage) [
server.register(unifyFastifyPlugin, { /* options */ })
server.get('/bad-request', async () => {
throw new BadRequest({ example: 'A bad request error'})
})Plugin options
| name | default | description | | ---------------- | ------- | -------------------------------- | | disableDetails | false | Disable error details like stack | | disableLog | false | Disable logging on error |
Tests
To execute jest tests (all errors, type integrity test)
pnpm testMaintain
This package use TSdx. Please check documentation to update this package.
