Create a new Crash error instance
human friendly error message
Create a new Crash error
human friendly error message
enhanced error options
Create a new Crash error
human friendly error message
unique identifier for this particular occurrence of the problem
Create a new Crash error
human friendly error message
unique identifier for this particular occurrence of the problem
enhanced error options
Error name (type)
Optional override for formatting stack traces
Cause source of error
Return the info object for this error
Determine if this instance is a Crash error
Return the unique identifier associated to this instance
Look in the nested causes of the error and return the first occurrence of a cause with the indicated name
name of the error to search for
the cause, if there is any present with that name
Returns a full stack of the error and causes hierarchically. The string contains the description of the point in the code at which the Error/Crash was instantiated
Check if there is any cause in the stack with the indicated name
name of the error to search for
Boolean value as the result of the search
Return Crash error in JSON format
Return a string formatted as name:message
Get the trace of this hierarchy of errors
Create .stack property on a target object
Generated using TypeDoc
Improved handling of standard errors.
Crash helps us manage standard errors within our application by providing us with some tools:
In addition, in combination with the Multi error types, errors in validation processes, and Boom, errors for the REST-API interfaces, it allows a complete management of the different types of errors in our backend.