An error handler for JSON APIs, meant to be used with http-errors-style errors.
var errorHandler = ;var api = ;api;api;app;
Currently no options.
4xx errors are exposed to the client. Properties exposed are:
5xx errors are not exposed to the client.
Instead, they are given a generic
message as well as the