TestInfoError
Information about an error thrown during test execution.
Properties​
cause​
Added in: v1.49Error cause. Set when there is a cause for the error. Will be undefined if there is no cause or if the cause is not an instance of Error.
Usage
testInfoError.cause
Type
errorContext​
Added in: v1.60Additional context for the error, such as the aria snapshot of the receiver at the time of an expect(...) matcher failure.
Usage
testInfoError.errorContext
Type
message​
Added in: v1.10Error message. Set when Error (or its subclass) has been thrown.
Usage
testInfoError.message
Type
stack​
Added in: v1.10Error stack. Set when Error (or its subclass) has been thrown.
Usage
testInfoError.stack
Type
value​
Added in: v1.10The value that was thrown. Set when anything except the Error (or its subclass) has been thrown.
Usage
testInfoError.value
Type