Behavior when object is an error instances
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- compilers
Research direction
Start by reading the Error.captureStackTrace proposal and the linked proposal-error-stacks discussion. Resolve the behavior for objects with an [[ErrorData]] slot, including whether to reset internal error stack information without adding a private field or own stack property; done means the specification decision is agreed and recorded.
Written by the indexing model from the issue text.
Description
What should the behavior of Error.captureStackTrace be when the object provided is an object with an [[ErrorData]] slot?
My preference right now would be to reset the internal error stack info, but not add a new private field or own stack property (this is partially assuming that we standardize a prototype stack property for Errors in https://github.com/tc39/proposal-error-stacks)
- Dominant language
- No language data
- Stars
- 15
- Forks
- 5
- 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-capturestacktrace
-
Difficulty 3/5 1-2 days Newbie friendliness 40/100
tc39/proposal-error-capturestacktrace#15 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
tc39/proposal-error-capturestacktrace#13 · 4 comments · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
tc39/proposal-error-capturestacktrace#8 · 9 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
tc39/proposal-error-capturestacktrace#1 · 4 comments ·
All issues in tc39/proposal-error-capturestacktrace
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
objectionary/jeo-maven-plugin#1774 ·
-
compiler/runtime
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
leanprover/lean4#15255 ·
-
bot-triaged module: correctness (silent) module: fx release triage triage review
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Grammar Gap: activated › effect clause › {self} deals damage equal to its power to target creature Openarea:mechanics ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
fil-donadoni/tolaria#4317 ·