Conflict with DOMException
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- javascript
- Domain
- api
Research direction
No files, tests, or entry points are named. Start by reading the proposal discussion and checking how DOMException inherits from Error; determine whether the proposed property would be shadowed in web platform code. Done requires a resolved design direction for handling granular error information.
Written by the indexing model from the issue text.
Description
I don't like this as DOMException has Error in its prototype chain so we'd end up shadowing this new property making it useless in a lot of web platform code.
The web platform has established a pattern whereby if the name field is not granular enough you create a subclass of DOMException for the domain in question with specific fields that make sense.
- Dominant language
- JavaScript
- Stars
- 38
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tc39/proposal-error-code-property
-
Test262 Updates Open
Difficulty 3/5 1-2 days Newbie friendliness 10/100
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
tc39/proposal-error-code-property#9 · 4 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
tc39/proposal-error-code-property#8 · 5 comments · 1 reaction ·
All issues in tc39/proposal-error-code-property
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
mksglu/context-mode#1200 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
neondatabase/website#5944 ·
-
module: core
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
bigbluebutton/bigbluebutton#25849 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
jaegertracing/jaeger-ui#4506 ·