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

Simplify SendError::MessageTooLarge #69

Merged
merged 1 commit into from
Apr 3, 2024
Merged

Simplify SendError::MessageTooLarge #69

merged 1 commit into from
Apr 3, 2024

Conversation

msk
Copy link
Contributor

@msk msk commented Apr 3, 2024

This commit refactors the SendError::MessageTooLarge variant to no longer carry the std::num::TryFromIntError as its inner error. This change stems from the observation that the underlying TryFromIntError did not provide additional useful context to the error handling process.

This commit refactors the `SendError::MessageTooLarge` variant to no
longer carry the `std::num::TryFromIntError` as its inner error. This
change stems from the observation that the underlying `TryFromIntError`
did not provide additional useful context to the error handling
process.
@msk msk added the refactor Code refactoring label Apr 3, 2024
@minshao minshao merged commit 91665eb into main Apr 3, 2024
14 checks passed
@minshao minshao deleted the message-too-large branch April 3, 2024 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Code refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants