The type of the error label, constrained to string
Static
captureCreate .stack property on a target object
Optional
constructorOpt: FunctionStatic
fromStatic
resultOptional
causeThe label identifying the type of error.
Optional
sourceThe source of the error, if applicable.
Optional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stack
Extends the built-in
Error
class with a label and an optional source.