Skip to content

ExceptionDetails

[<Interface>]
type ExceptionDetails =
    abstract member columnNumber: float with get, set
    abstract member exception: RemoteObject option with get, set
    abstract member exceptionId: float with get, set
    abstract member executionContextId: float option with get, set
    abstract member lineNumber: float with get, set
    abstract member scriptId: string option with get, set
    abstract member stackTrace: StackTrace option with get, set
    abstract member text: string with get, set
    abstract member url: string option with get, set
    static member Create (exceptionId: float, text: string, lineNumber: float, columnNumber: float, ?scriptId: string, ?url: string, ?stackTrace: StackTrace, ?exception: RemoteObject, ?executionContextId: float) : ExceptionDetails
AssemblyXantham.Fable.Node
Attributes[<Interface>]

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

Properties

abstract member columnNumber: float with get, set

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

abstract member exception: RemoteObject option with get, set

Exception object if available.

abstract member exceptionId: float with get, set

Exception id.

abstract member executionContextId: float option with get, set

Identifier of the context where exception happened.

abstract member lineNumber: float with get, set

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

abstract member scriptId: string option with get, set

Script ID of the exception location.

abstract member stackTrace: StackTrace option with get, set

JavaScript stack trace if available.

abstract member text: string with get, set

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

abstract member url: string option with get, set

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

Methods

static member Create (exceptionId: float, text: string, lineNumber: float, columnNumber: float, ?scriptId: string, ?url: string, ?stackTrace: StackTrace, ?exception: RemoteObject, ?executionContextId: float) : ExceptionDetails