UNPKG

hapi-format-error

Version:

Structure Boom errors into a more desirable format

60 lines (31 loc) 1.91 kB
## 7.0.0 (2024-09-16) * Upgrade to Joi 17 ([#29](https://github.com/lob/hapi-format-error/pull/29)) * Remove references to deprecated [hoek](https://www.npmjs.com/package/hoek) package ## 6.0.0 (2021-11-11) ### 5.1.0 (2021-10-04) ## 5.0.0 (2021-08-30) ##### Other Changes * upgrade to hapi v17 ([#15](https://github.com/lob/hapi-format-error/pull/15)) ([950524a9](https://github.com/lob/hapi-format-error/commit/950524a9cfd1f4f1b384e9d06dc5639722906257)) ## 4.0.0 (2020-10-16) ##### New Features * **codes:** * surface error codes ([02d97e80](https://github.com/lob/hapi-format-error/commit/02d97e804dfa258ffaf3911845f9351176a0af03)) * surface error codes ([751a8806](https://github.com/lob/hapi-format-error/commit/751a8806ed4d90f5c0f3473becbae90b771e91cb)) ## 3.0.0 (2020-02-19) ##### Chores * **deps:** bump handlebars from 4.0.11 to 4.1.2 ([2b242a63](https://github.com/lob/hapi-format-error/commit/2b242a63f6686067d25464de6cc2644fa812476e)) ##### New Features * **type:** optionally provide error type in response ([132418c4](https://github.com/lob/hapi-format-error/commit/132418c4b7bb36491e8bd9b72c3ef19c7bb8da24)) ### 2.1.0 (2018-07-12) ## 2.0.0 (2018-07-05) ### 1.2.0 (2018-05-03) ### 1.1.0 (2016-6-14) ##### Chores * **deps:** upgrade eslint-config-lob to 2.0.1 ([b285365e](https://github.com/lob/hapi-format-error/commit/b285365e5d76b91a5d9cf5892aadad8914bc920a)) ##### New Features * **xor:** adds special support for xor errors ([540e96ce](https://github.com/lob/hapi-format-error/commit/540e96ce127d2024452f796b159985e68a633b92)) ## 1.0.0 (2016-4-11) ##### Chores * **init:** initial commit ([97e93281](https://github.com/lob/hapi-format-error/commit/97e932814982f03f942d52e5adeed84dbf8f80b5)) ##### New Features * **plugin:** create format error plugin ([da79bef6](https://github.com/lob/hapi-format-error/commit/da79bef61f55b2b46e272e7aa00a353657e6cdc9))