Skip to main content
Runtime.ExceptionDetails - node__inspector.d.ts - Node documentation
interface Runtime.ExceptionDetails

Usage in Deno

```typescript import { Runtime } from "node:node__inspector.d.ts"; ```
Detailed information about exception (or error) that was thrown during script compilation or execution.

Properties

exceptionId: number
Exception id.
text: string
Exception text, which should be used together with exception object when available.
lineNumber: number
Line number of the exception location (0-based).
columnNumber: number
Column number of the exception location (0-based).
optional
scriptId: ScriptId | undefined
Script ID of the exception location.
optional
url: string | undefined
URL of the exception location, to be used when the script was not reported.
optional
stackTrace: StackTrace | undefined
JavaScript stack trace if available.
optional
exception: RemoteObject | undefined
Exception object if available.
Identifier of the context where exception happened.