Interface IAutoExceptionTelemetryExport

window.onerror function parameters

IAutoExceptionTelemetry

interface IAutoExceptionTelemetry {
    columnNumber: number;
    error: any;
    errorSrc?: string;
    evt?: string | Event;
    lineNumber: number;
    message: string;
    stackDetails?: IStackDetails;
    typeName?: string;
    url: string;
}

Properties

columnNumber: number

Column number for the line where the error occurred

error: any

Error Object (object)

errorSrc?: string

The descriptive source of the error

evt?: string | Event

The event at the time of the exception (object)

lineNumber: number

Line number where error was raised

message: string

error message. Available as event in HTML onerror="" handler

stackDetails?: IStackDetails

The provided stack for the error

typeName?: string

The calculated type of the error

url: string

URL of the script where the error was raised