LocalStorage icon indicating copy to clipboard operation
LocalStorage copied to clipboard

[Feature Request] Quota Exceeded Exception

Open DavideWiest opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. Right now, the project has only BrowserStorageDisabledException. Considering the localStorage is only 5mb in most cases, it's realistic that it can be fully filled up in some projects. Knowing that exactly this is the error would be useful, as this info can be passed along to the user.

Describe the solution you'd like A QuotaExceededException thrown if the local storage is full. The localStorage implementation in JavaScript throws a QuotaExceededError, which can be passed along.

Describe alternatives you've considered If BrowserStorageDisabledException handles this, it should be renamed.

Additional context

DavideWiest avatar May 20 '24 19:05 DavideWiest