mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2.1 KiB
2.1 KiB
Home > puppeteer > Protocol > Runtime > ExceptionDetails
Protocol.Runtime.ExceptionDetails interface
Detailed information about exception (or error) that was thrown during script compilation or execution.
Signature:
export interface ExceptionDetails
Properties
| Property | Type | Description |
|---|---|---|
| columnNumber | integer | Column number of the exception location (0-based). |
| exception | RemoteObject | Exception object if available. |
| exceptionId | integer | Exception id. |
| executionContextId | ExecutionContextId | Identifier of the context where exception happened. |
| lineNumber | integer | Line number of the exception location (0-based). |
| scriptId | ScriptId | Script ID of the exception location. |
| stackTrace | StackTrace | JavaScript stack trace if available. |
| text | string | Exception text, which should be used together with exception object when available. |
| url | string | URL of the exception location, to be used when the script was not reported. |