IExceptionTelemetry

Exception interface used as primary parameter to trackException

interface IExceptionTelemetry {
    error?: Error;
    exception?: IAutoExceptionTelemetry | Error;
    id?: string;
    measurements?: {
        [key: string]: number;
    };
    properties?: {
        [key: string]: any;
    };
    severityLevel?: number;
}

Hierarchy

  • IPartC
    • IExceptionTelemetry

Properties

error?: Error

Please use the exception field instead. The behavior and usage of exception remains the same as this field. Unique guid identifying this error.

exception?: IAutoExceptionTelemetry | Error

Error Object(s)

id?: string

Unique guid identifying this error

measurements?: {
    [key: string]: number;
}

Property bag to contain additional custom measurements (Part C)

-- please use properties instead

properties?: {
    [key: string]: any;
}

Property bag to contain additional custom properties (Part C)

severityLevel?: number

Specified severity of exception for use with telemetry filtering in dashboard