TestError
Information about an error thrown during test execution.
Properties
location
Added in: v1.30Error location in the source code.
Usage
testError.location
Type
message
Added in: v1.10Error message. Set when Error (or its subclass) has been thrown.
Usage
testError.message
Type
snippet
Added in: v1.33Source code snippet with highlighted error.
Usage
testError.snippet
Type
stack
Added in: v1.10Error stack. Set when Error (or its subclass) has been thrown.
Usage
testError.stack
Type
value
Added in: v1.10The value that was thrown. Set when anything except the Error (or its subclass) has been thrown.
Usage
testError.value
Type