interface ErrorReport {
    error: any;
    extra?: any;
    level?: ErrorLevel;
    origin?: string;
    target: LogTarget;
}

Properties

error: any

The error object.

extra?: any

Extra contextual information.

level?: ErrorLevel

The error severity, If undefined, the level will be taken from the error if it extends ReportableError, otherwise ErrorLevel.FATAL will be used.

origin?: string

The origin of blame to be set on the event. If undefined, the origin will be taken from the error if it extends ReportableError, otherwise ErrorOrigin.INTERNAL will be used.

target: LogTarget

The target reporting the error.