You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The DOMException interface represents an abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. This is basically how error conditions are described in web APIs.
We should implement DOMException as part of Web compatibility and effort to reduce custom errors (#2635).
We got #3662, #3936 and #4058 landed without need of DOMException - so I'm closing this issue for now keeping in mind that we might have to revisit this topic.
Reading from MDN:
We should implement
DOMException
as part of Web compatibility and effort to reduce custom errors (#2635).There are already TODOs in our code for that:
deno/cli/js/text_encoding.ts
Lines 107 to 112 in 7fd5006
It will also come in handy in workers implementation
The text was updated successfully, but these errors were encountered: