Join GitHub today
Wrap error response with Boom #158
Sorry, but this is a terrible implementation of the feature.
There are existing use-cases that requires information from the payload on status code errors, which is now impossible to retrieve. Further, all the helper methods don't even provide a way to access any headers on these errors.
As it is, something like