Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Would nicer error messages be possible? #14

@torpak

Description

@torpak

When i didn't provide a valid boolean, i got a not so nice error message:

thor bla aged
thread 'main' panicked at 'Failed to parse value. Double check!: ParseBoolError { _priv: () }', libcore/result.rs:945:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

Would it be possible to instead print something like:
Error: <drunk> needs to be "true" or "false"
or something similar?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions