Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The QuotaExceededError interface represents an error when a requested operation would exceed a system-imposed storage quota.
Note: In browser versions before this interface was implemented, it was a regular DOMException. The subclassing allows for extra information like quota and requested to be included.
QuotaExceededError() Experimental
Creates a QuotaExceededError object.
Also inherits properties from its ancestor DOMException.
QuotaExceededError.quota Read only Experimental
Returns the system-defined storage limit (in bytes) that was exceeded.
requested Read only Experimental
Returns the amount of storage (in bytes) that was requested during the operation.
| Specification |
|---|
| Web IDL> # quotaexceedederror> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
QuotaExceededError |
138 | 138 | No | 122 | No | 138 | No | 91 | No | No | 138 | No |
QuotaExceededError |
138 | 138 | No | 122 | No | 138 | No | 91 | No | No | 138 | No |
quota |
138 | 138 | No | 122 | No | 138 | No | 91 | No | No | 138 | No |
requested |
138 | 138 | No | 122 | No | 138 | No | 91 | No | No | 138 | No |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/QuotaExceededError