extra function is only called if in debug mode.
If an ErrorWithExtra is passed, its message is used and its extras are passed through.
Optional causeReadonly extraOptional stackStatic Optional prepareOptional override for formatting stack traces
Static stackStatic captureGenerated using TypeDoc
Error with arbitrary
extradata attached, for debugging. The extra data is omitted if not running the test in debug mode (?debug=1).