Re: [whatwg/streams] Allow error to be provided to reader.releaseLock() (Issue #1358)

0f-0b left a comment (whatwg/streams#1358)

What about making this error a subclass of `TypeError`, just like how [`QuotaExceededError`](https://developer.mozilla.org/docs/Web/API/QuotaExceededError) was recently changed to be a subclass of `DOMException`? Subclassing allows for extra information to be included, which in this case is the fact that the error is produced by `releaseLock`.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/1358#issuecomment-3568095537
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/issues/1358/3568095537@github.com>

Received on Sunday, 23 November 2025 15:48:10 UTC