The target class.
Whether the class is currently initializing.
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 an async dependency is used in a sync context.