docs/src/test-reporter-api/class-testerror.md
Information about an error thrown during test execution.
Error 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].
Error message. Set when [Error] (or its subclass) has been thrown.
Error stack. Set when [Error] (or its subclass) has been thrown.
The value that was thrown. Set when anything except the [Error] (or its subclass) has been thrown.
Error location in the source code.
Source code snippet with highlighted error.