Optional
cause: ErrorOptional
context: ErrorContextSpecifies the underlying cause of this error, if one is available.
Specifies additional contextual information which is available for this error. Depending on the service that generated it.
Optional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stackStatic
capture
A generic base error that all errors inherit. Exposes the cause and context of the error to enable easier debugging.