[w3c/ServiceWorker] Handle the quota exceeded error globally (#971)

Basically, I want to show a warning message to users when the storage quota for my app is exceeded. Catching the error `QuotaExceededError` on every write operations (`caches.open`, `cache.put`, etc)  is quite painful. How can I handle it globally? Or is there any better approach for this situation?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/971

Received on Thursday, 1 September 2016 12:34:01 UTC