- From: Kevin Gibbons <notifications@github.com>
- Date: Thu, 23 Jan 2025 19:43:33 -0800
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 24 January 2025 03:43:38 UTC
Given that QuotaExceededError is already used for "requested too many bytes" in crypto (sidebar: [why do we have this limit](https://www.thomas-huehn.com/myths-about-urandom/)) and "requested too many recognizers" in the Handwriting Recognition API, I think it's already been generalized beyond just storage, so it seems fine to continue using it for other kinds of quota. Does it actually need to be a new type? Is there a reason not to just add more properties to the existing QuotaExceededError type? The usual thing in JS would be to have optional properties for when additional data is available (like how errors now all have an optional `cause`), rather than having different types. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/webidl/issues/1463#issuecomment-2611490228 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/webidl/issues/1463/2611490228@github.com>
Received on Friday, 24 January 2025 03:43:38 UTC