W3cubDocs

/Web APIs

QuotaExceededError

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.

DOMException QuotaExceededError

Constructor

QuotaExceededError() Experimental

Creates a QuotaExceededError object.

Instance properties

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.

Specifications

Browser compatibility

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

See also

© 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