interface Runtime.ExceptionDetails
Usage in Deno
import { type Runtime } from "node:inspector"; type { ExceptionDetails } = Runtime;
Detailed information about exception (or error) that was thrown during script compilation or execution.
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
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.
optional
executionContextId: ExecutionContextId | undefined
Identifier of the context where exception happened.