strong-error-handler icon indicating copy to clipboard operation
strong-error-handler copied to clipboard

Support `expose` property of http-errors

Open shimks opened this issue 7 years ago • 0 comments

Description/Steps to reproduce

As brought up in strongloop/loopback-next#1598, strong-error-handler should be able to support expose property set in errors thrown with HttpError from http-errors module.

Its interaction with the debug setting in strong-error-handler is yet to be decided.

shimks avatar Aug 22 '18 15:08 shimks