Optional originalError: ErrorTypeThe message that should be used as default title, in case the ErrorType object is no StationError that already defines a title.
Optional defaultBody: stringThe body that should be used in case the function can not infer the body of the message.
A station error object
Generated using TypeDoc
Converts an
ErrorTypeobject into a station error.