Checks whether an error or any error in its cause chain matches an Error class.
Temporal Application Failures are matched through their serialized type, in addition to standard instanceof and name checks.
type
instanceof
name
Error or failure chain to inspect
Error class to match
Whether the Error class appears in the chain
Checks whether an error or any error in its cause chain matches an Error class.
Temporal Application Failures are matched through their serialized
type, in addition to standardinstanceofandnamechecks.