Skip to content

fix: $close to set original error in .cause #25

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

Merged
merged 1 commit into from
Jul 13, 2025

Conversation

AriPerkkio
Copy link
Contributor

Description

  • When user providers custom Error in $close, attach birpc's internal error in its .cause.
  • Allows users to provider custom descriptive errors while preserving birpcs internal method in the error message

Linked Issues

Additional context

@sheremet-va sheremet-va merged commit 40ee074 into antfu:main Jul 13, 2025
2 checks passed
@AriPerkkio AriPerkkio deleted the fix/error-cause-on-close branch July 13, 2025 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants