Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Runtime.ExceptionDetails
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { ExceptionDetails } = Protocol.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.