Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Runtime.ExceptionDetails
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { ExceptionDetails } = default.Runtime;

Detailed information about exception (or error) that was thrown during script compilation or execution.

Properties

exceptionId: integer

Exception id.

text: string

Exception text, which should be used together with exception object when available.

lineNumber: integer

Line number of the exception location (0-based).

columnNumber: integer

Column number of the exception location (0-based).

optional
scriptId: ScriptId

Script ID of the exception location.

optional
url: string

URL of the exception location, to be used when the script was not reported.

optional
stackTrace: StackTrace

JavaScript stack trace if available.

optional
exception: RemoteObject

Exception object if available.

optional
executionContextId: ExecutionContextId

Identifier of the context where exception happened.

optional
exceptionMetaData: any

Dictionary with entries of meta data that the client associated with this exception, such as information about associated network requests, etc.