Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support native ES Error #325

Merged
merged 6 commits into from
Jul 30, 2024
Merged

feat: support native ES Error #325

merged 6 commits into from
Jul 30, 2024

Conversation

svc-cli-bot
Copy link
Contributor

@svc-cli-bot svc-cli-bot commented Jul 28, 2024

created via github action [skip-validate-pr]

manual work

supporting the native Error as a cause

@svc-cli-bot svc-cli-bot requested a review from a team as a code owner July 28, 2024 06:51
src/errors.ts Outdated Show resolved Hide resolved
readonly cause?: NamedErrorLike;
readonly fullStack?: string;
};
type NamedErrorLike =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

widen the type, should be non-breaking. The "native" Error might not have a name, and now that's allowed as a cause.

@mshanemc mshanemc changed the title refactor: devScripts update feat: support native ES Error Jul 29, 2024
@cristiand391 cristiand391 merged commit 652c0d6 into main Jul 30, 2024
13 checks passed
@cristiand391 cristiand391 deleted the devScripts2024-07-28 branch July 30, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants