Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The QuotaExceededError() constructor creates a new QuotaExceededError object.
new QuotaExceededError()
new QuotaExceededError(message)
new QuotaExceededError(message, options)message OptionalThe message. Defaults to "".
options OptionalAn object that can have the following properties:
quota OptionalA number representing the system-defined storage quota (in bytes) that was exceeded, or undefined if the information isn't available. Corresponds to QuotaExceededError.quota.
requested OptionalA number representing the amount of storage (in bytes) that was requested during the operation, or undefined if the information isn't available. Corresponds to QuotaExceededError.requested.
RangeErrorThrown if option.quota or options.requested is negative, or if option.requested < option.quota.