boom
Advanced tools
Comparing version 2.7.1 to 2.7.2
{ | ||
"name": "boom", | ||
"description": "HTTP-friendly error objects", | ||
"version": "2.7.1", | ||
"version": "2.7.2", | ||
"repository": "git://github.com/hapijs/boom", | ||
@@ -25,8 +25,3 @@ "main": "index", | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "BSD", | ||
"url": "http://github.com/hapijs/boom/raw/master/LICENSE" | ||
} | ||
] | ||
"license": "BSD-3-Clause" | ||
} |
@@ -6,2 +6,3 @@ ![boom Logo](https://raw.github.com/hapijs/boom/master/images/boom.png) | ||
[![Build Status](https://secure.travis-ci.org/hapijs/boom.png)](http://travis-ci.org/hapijs/boom) | ||
[![Current Version](https://img.shields.io/npm/v/boom.svg)](https://www.npmjs.com/package/boom) | ||
@@ -578,1 +579,7 @@ Lead Maintainer: [Adam Bretz](https://github.com/arb) | ||
``` | ||
## F.A.Q. | ||
###### How do I include extra information in my responses? `output.payload` is missing `data`, what gives? | ||
There is a reason the values passed back in the response payloads are pretty locked down. It's mostly for security and to not leak any important information back to the client. This means you will need to put in a little more effort to include extra information about your custom error. Check out the ["Error transformation"](https://github.com/hapijs/hapi/blob/master/API.md#error-transformation) section in the hapi documentation. |
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
67847
584