English
setCatchHandler
Function @vite-pwa/workbox-swkit/routingts
setCatchHandler(handler: RouteHandler): voidIf a Route throws an error while handling a request, this handler will be called and given a chance to provide a response.
Parameters
handler– A callback function that returns a Promise resulting in a Response.