interface AsukaObservabilityApi {
    isEnabled: (() => boolean);
    report: ((error: unknown, context?: Record<string, unknown>) => AsukaObservabilityErrorRecord);
}

Properties

Properties

isEnabled: (() => boolean)

Whether a host error callback is currently enabled.

report: ((error: unknown, context?: Record<string, unknown>) => AsukaObservabilityErrorRecord)

Forward a caught error to the same host callback used for global errors.