semantic-release / semantic-release/error

Add error cause

Open
#195 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
12
Forks
6
Avg merge
1m
Merged PRs (30d)
5

Description

It would be useful to allow reference to another error with the cause property. Also see https://2ality.com/2021/06/error-cause.html

This would be helpful in cases where we catch an error, and rethrow a semantic release error.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name files or tests; start by locating the package's error implementation and existing test coverage. Review the linked error-cause reference and determine how a caught error should be retained when creating a semantic release error. Done means the cause is available on the resulting error and the behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.