mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
30 lines
866 B
Markdown
30 lines
866 B
Markdown
# class: TestInfoError
|
|
* since: v1.10
|
|
* langs: js
|
|
|
|
Information about an error thrown during test execution.
|
|
|
|
## 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].
|
|
|
|
## property: TestInfoError.message
|
|
* since: v1.10
|
|
- type: ?<[string]>
|
|
|
|
Error message. Set when [Error] (or its subclass) has been thrown.
|
|
|
|
## property: TestInfoError.stack
|
|
* since: v1.10
|
|
- type: ?<[string]>
|
|
|
|
Error stack. Set when [Error] (or its subclass) has been thrown.
|
|
|
|
## property: TestInfoError.value
|
|
* since: v1.10
|
|
- type: ?<[string]>
|
|
|
|
The value that was thrown. Set when anything except the [Error] (or its subclass) has been thrown.
|