@c8/errors
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "@c8/errors", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Common errors and their utils used by C8 management", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -28,4 +28,5 @@ # @c8/errors | ||
```javascript | ||
// mapping format: { BoomError: ['CustomError1', 'CustomError2'] } | ||
let boomErr = Errors.utils.toBoom(err, { | ||
entityTooLarge: ['FileTooLargeError'], | ||
entityTooLarge: ['FileTooLargeError', 'OtherCustomError'], | ||
unsupportedMediaType: ['TypeError'] | ||
@@ -32,0 +33,0 @@ }) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4808
35