Skip to content

Make ParseError exhaustive #959

Open
@alexmozaidze

Description

@alexmozaidze

Make ParseError exhaustive. Having it non-exhaustive means that one must add a wild-card to checking for errors, even if it is required to account for all the errors explicitly (having a runtime _ => unreachable!() is not very good). Making it a normal enum allows the user of the library to decide for themselves whether or not they want to wild-card match other cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions