2022-12-21 09:36:59 -08:00
# class: TestInfoError
2022-07-05 16:24:50 -08:00
* since: v1.10
2021-07-22 19:56:36 -07: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 09:36:59 -08:00
## property: TestInfoError.message
2022-07-05 16:24:50 -08:00
* since: v1.10
2022-04-06 19:02:10 -07:00
- type: ?< [string]>
2021-07-22 19:56:36 -07:00
2022-04-06 19:02:10 -07:00
Error message. Set when [Error] (or its subclass) has been thrown.
2021-07-22 19:56:36 -07:00
2022-12-21 09:36:59 -08:00
## property: TestInfoError.stack
2022-07-05 16:24:50 -08:00
* since: v1.10
2022-04-06 19:02:10 -07:00
- type: ?< [string]>
2021-07-22 19:56:36 -07:00
2022-04-06 19:02:10 -07:00
Error stack. Set when [Error] (or its subclass) has been thrown.
2021-07-22 19:56:36 -07:00
2022-12-21 09:36:59 -08:00
## property: TestInfoError.value
2022-07-05 16:24:50 -08:00
* since: v1.10
2022-04-06 19:02:10 -07:00
- type: ?< [string]>
2021-07-22 19:56:36 -07:00
2022-04-06 19:02:10 -07:00
The value that was thrown. Set when anything except the [Error] (or its subclass) has been thrown.