HTTP-friendly error objects.
|Version||License||Node||Dependencies||Travis||End of Life|
|BSD||12, 10, 8|
|Commercial||10, 8, 6|
Q How do I include extra information in my responses?
output.payload is missing
data, what gives?
A 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" section in the hapi documentation.