Bun

interface

inspector.Runtime.ExceptionDetails

interface ExceptionDetails

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

  • columnNumber: number

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

  • exception?: RemoteObject

    Exception object if available.

  • exceptionId: number

    Exception id.

  • executionContextId?: number

    Identifier of the context where exception happened.

  • lineNumber: number

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

  • scriptId?: string

    Script ID of the exception location.

  • stackTrace?: StackTrace

    JavaScript stack trace if available.

  • text: string

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

  • url?: string

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