Skip to content

Failure to set direction results in an unhelpful failure from a seemingly infallible method #84

@rsheeter

Description

@rsheeter

assert_ne!(direction, Direction::Invalid);
failing is spectacularly unhelpful. An infallible looking API can fail, and when it does what prints offers no guidance wrt what to do. Ideally we'd avoid being in a bad state but if we need to allow for it then lets use Result?

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