Do we attach a getter/setter to the object?
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
- developer-experience
Research direction
Start by reading the issue discussion and Bug 1886820, which debate whether Error.captureStackTrace should attach a getter or avoid one. The work is not ready to implement: a decision on the API design and the expected stack-trace behavior must be established first.
Written by the indexing model from the issue text.
Description
It's simpler and more straightforward to not use a getter.
In principle with a getter you could defer the work of formatting a stack trace until it's finally consumed.
Bug 1886820 has some discussion around this. Particularly, Matthieu Hoffman has some opinions against getters
- 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#2 · 2 comments ·
All issues in tc39/proposal-error-capturestacktrace
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
use-agent-os/agent-os#3314 ·
-
documentation low-priority templates
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
jesseray718/openroot#87 ·
-
factory-active factory-automatic task-bug-reproduction-cannot-reproduce task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·
-
in-progress proposal
Difficulty 1/5 Under an hour Newbie friendliness 88/100
uibcdf/molsyssuite#36 ·