2022-12-21 18:36:59 +01:00
# class: TestInfoError
2022-07-06 02:24:50 +02:00
* since: v1.10
2021-07-23 04:56:36 +02:00
* langs: js
Information about an error thrown during test execution.
2024-10-29 00:01:59 +01:00
## property: TestInfoError.cause
* since: v1.49
- type: ?< [TestInfoError]>
Error cause. Set when there is a [cause ](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/cause ) for the error. Will be `undefined` if there is no cause or if the cause is not an instance of [Error].
2022-12-21 18:36:59 +01:00
## property: TestInfoError.message
2022-07-06 02:24:50 +02:00
* since: v1.10
2022-04-07 04:02:10 +02:00
- type: ?< [string]>
2021-07-23 04:56:36 +02:00
2022-04-07 04:02:10 +02:00
Error message. Set when [Error] (or its subclass) has been thrown.
2021-07-23 04:56:36 +02:00
2022-12-21 18:36:59 +01:00
## property: TestInfoError.stack
2022-07-06 02:24:50 +02:00
* since: v1.10
2022-04-07 04:02:10 +02:00
- type: ?< [string]>
2021-07-23 04:56:36 +02:00
2022-04-07 04:02:10 +02:00
Error stack. Set when [Error] (or its subclass) has been thrown.
2021-07-23 04:56:36 +02:00
2022-12-21 18:36:59 +01:00
## property: TestInfoError.value
2022-07-06 02:24:50 +02:00
* since: v1.10
2022-04-07 04:02:10 +02:00
- type: ?< [string]>
2021-07-23 04:56:36 +02:00
2022-04-07 04:02:10 +02:00
The value that was thrown. Set when anything except the [Error] (or its subclass) has been thrown.