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

refactor: err typing for better client assertion #15

Merged
merged 1 commit into from
Oct 11, 2023
Merged

refactor: err typing for better client assertion #15

merged 1 commit into from
Oct 11, 2023

Conversation

jorgejr568
Copy link
Contributor

@jorgejr568 jorgejr568 commented Oct 7, 2023

Refactoring the error returns to be set in a set of Errors.

That way is easier for the client application to check with errors.is(...) and do a better treatment of what happened.

@jorgejr568 jorgejr568 marked this pull request as ready for review October 7, 2023 20:17
@drish drish self-requested a review October 8, 2023 01:51
@drish
Copy link
Collaborator

drish commented Oct 8, 2023

thanks for the contribution @jorgejr568, this lgtm and will be included in the next release.

@drish drish merged commit a770741 into resend:main Oct 11, 2023
1 check passed
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.

None yet

3 participants