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

binary: expose overflow error #43538

Open
pascaldekloe opened this issue Jan 6, 2021 · 0 comments
Open

binary: expose overflow error #43538

pascaldekloe opened this issue Jan 6, 2021 · 0 comments
Labels
FeatureRequest NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone

Comments

@pascaldekloe
Copy link
Contributor

At the moment it is not possible to distinguish I/O errors from encoding errors with binary.ReadUvarint and binary.ReadVarint. The documentation could mention that an overflow is the only encoding error option.

@ALTree ALTree added FeatureRequest NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made. labels Jan 6, 2021
@ALTree ALTree added this to the Unplanned milestone Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FeatureRequest NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made.
Projects
None yet
Development

No branches or pull requests

2 participants