mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
29 lines
2.1 KiB
Markdown
29 lines
2.1 KiB
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Runtime](./puppeteer.protocol.runtime.md) > [ExceptionDetails](./puppeteer.protocol.runtime.exceptiondetails.md)
|
||
|
|
||
|
## Protocol.Runtime.ExceptionDetails interface
|
||
|
|
||
|
Detailed information about exception (or error) that was thrown during script compilation or execution.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export interface ExceptionDetails
|
||
|
```
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
| Property | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [columnNumber](./puppeteer.protocol.runtime.exceptiondetails.columnnumber.md) | [integer](./puppeteer.protocol.integer.md) | Column number of the exception location (0-based). |
|
||
|
| [exception](./puppeteer.protocol.runtime.exceptiondetails.exception.md) | [RemoteObject](./puppeteer.protocol.runtime.remoteobject.md) | Exception object if available. |
|
||
|
| [exceptionId](./puppeteer.protocol.runtime.exceptiondetails.exceptionid.md) | [integer](./puppeteer.protocol.integer.md) | Exception id. |
|
||
|
| [executionContextId](./puppeteer.protocol.runtime.exceptiondetails.executioncontextid.md) | [ExecutionContextId](./puppeteer.protocol.runtime.executioncontextid.md) | Identifier of the context where exception happened. |
|
||
|
| [lineNumber](./puppeteer.protocol.runtime.exceptiondetails.linenumber.md) | [integer](./puppeteer.protocol.integer.md) | Line number of the exception location (0-based). |
|
||
|
| [scriptId](./puppeteer.protocol.runtime.exceptiondetails.scriptid.md) | [ScriptId](./puppeteer.protocol.runtime.scriptid.md) | Script ID of the exception location. |
|
||
|
| [stackTrace](./puppeteer.protocol.runtime.exceptiondetails.stacktrace.md) | [StackTrace](./puppeteer.protocol.runtime.stacktrace.md) | JavaScript stack trace if available. |
|
||
|
| [text](./puppeteer.protocol.runtime.exceptiondetails.text.md) | string | Exception text, which should be used together with exception object when available. |
|
||
|
| [url](./puppeteer.protocol.runtime.exceptiondetails.url.md) | string | URL of the exception location, to be used when the script was not reported. |
|
||
|
|