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 error handling #70

Merged
merged 1 commit into from
Apr 4, 2024
Merged

Simplify error handling #70

merged 1 commit into from
Apr 4, 2024

Conversation

msk
Copy link
Contributor

@msk msk commented Apr 3, 2024

Merged SendError's MessageTooLarge and SerializationFailure, and HandshakeError's MessageTooLarge and SerializationFailure into MessageTooLarge, since serialization into a memory buffer fails only when the message is too large.

Merged `SendError`'s `MessageTooLarge` and `SerializationFailure`, and
`HandshakeError`'s `MessageTooLarge` and `SerializationFailure` into
`MessageTooLarge`, since serialization into a memory buffer fails only
when the message is too large.
@msk msk added the refactor Code refactoring label Apr 3, 2024
Copy link

codecov bot commented Apr 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.33%. Comparing base (91665eb) to head (8128f0b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #70      +/-   ##
==========================================
- Coverage   55.41%   55.33%   -0.09%     
==========================================
  Files           5        5              
  Lines         406      403       -3     
==========================================
- Hits          225      223       -2     
+ Misses        181      180       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@minshao minshao merged commit 445e786 into main Apr 4, 2024
16 checks passed
@minshao minshao deleted the serialization-failure branch April 4, 2024 17:19
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