Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Return specifc error on initialization #252

Conversation

gangsthub
Copy link
Contributor

馃憖 Reopened #239 with cleaned git commits history (I fucked up with an unnecessary rebase).

We could be facing a DOMException like QuotaExceededError. The library was returning Invalid storage instance given which wasn't correct

What:

This will report exact error, instead of a generic one.

Why:

I was getting Invalid storage instance given when really it was a quota limit exceeded in Firefox.

How:

Checklist:

  • Documentation
  • Tests
  • Ready to be merged
  • Added myself to contributors table

gangsthub and others added 2 commits February 25, 2020 13:15
We could be facing a DOMException like `QuotaExceededError`.
- Added myself to contributors
- Edited readme and typings
- Added test
@gangsthub gangsthub mentioned this pull request Feb 25, 2020
4 tasks
@robinvdvleuten
Copy link
Owner

@gangsthub looking good! Thanks for your effort!

@robinvdvleuten robinvdvleuten merged commit 3938339 into robinvdvleuten:master Feb 26, 2020
@gangsthub gangsthub deleted the return-specifc-error-on-initialization branch March 1, 2020 08:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants