ServiceWorkerErrorInfo#

Interface ServiceWorkerErrorInfoExperimental

Details of a failure in a service worker operation that runs detached from its request (e.g. a cache clear that was acknowledged early, or automatic eviction/expiration). Such failures cannot be reported via the original call's promise, so they are delivered through ServiceWorkerErrorEvent.

interface ServiceWorkerErrorInfo {
    message: string;
    operation: ServiceWorkerOperation;
}
Index

Properties

Properties

message: string

The error message reported by the service worker.

The operation that failed.