bitwalker / bitwalker/exprotobuf
Improve error handling
Open
- Dominant language
- Elixir
- Stars
- 482
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
When an invalid binary message is passed to the decoder, at least three different errors are thrown by the library (depending of the message):
- MatchError
- FunctionClauseError
- CaseClauseError
They all leak internal details of the library and should be catch by the lib. Only one error should be necessary, specific to the lib, for example "DecodeError".
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.