Like IHandlerResponse, an IHandlerError can be any arbitrary type of object,
however it's recommended that the type be of a StormError.
If the type is not a StormError, the error will be wrapped in an InternalError object.
This is to avoid accidental leakage of privilege data (e.g. snippets of database queries with sensitive information)
Like IHandlerResponse, an IHandlerError can be any arbitrary type of object, however it's recommended that the type be of a StormError.
If the type is not a StormError, the error will be wrapped in an InternalError object. This is to avoid accidental leakage of privilege data (e.g. snippets of database queries with sensitive information)