Skip to content

Improve error handling #88

@pallix

Description

@pallix

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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions