The target class.
OptionalcauseThe cause of the error.
OptionalstackReadonlytargetStatic OptionalprepareOptional override for formatting stack traces
StaticstackThe maximum number of stack frames to capture.
StaticcaptureCreate .stack property on a target object
OptionalconstructorOpt: FunctionCreate .stack property on a target object
OptionalconstructorOpt: FunctionStaticisIndicates whether the argument provided is a built-in Error instance or not.
Check if a value is an instance of Error
The value to check
True if the value is an instance of Error, false otherwise
Thrown when a class is not set up for wiring.