service-error-handling
var errorHandling = ; express
errors are rendered with basic content negotiation support (json and html)
in production errors messages are only exposed if err.expose is set to true and a status code and message are provided. otherwise it defaults to a 500 Internal Server Error.