Add support for Error.cause (ES2022)
Open
Nobody has claimed this yet.
feature
njs
- Dominant language
- C
- Stars
- 1.6k
- Forks
- 239
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 10
Description
This has been introduced in ES2022 and it’s useful for error chaining.
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.
Research direction
Start by reading the linked ECMAScript InstallErrorCause specification, Error Cause proposal, and MDN reference to understand the required behavior. Then locate the njs implementation and tests for Error construction; done means njs supports ES2022 Error.cause and error chaining consistently with the referenced standard.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100