ReadonlycauseThe cause of the error.
Static OptionalprepareOptional override for formatting stack traces
StaticstackThe maximum number of stack frames to capture.
OptionalstackReads the isCertified property of the underlying error code.
true if the error is certified, false otherwise.
Returns a string representation of an object.
StaticcaptureStaticisCheck if a value is an instance of Error
The value to check
True if the value is an instance of Error, false otherwise
An error that happens in the Agent. This is the root of all errors and should be used everywhere in the Agent code (this package).
To know if the error is certified, use the
isCertifiedgetter.