-
Notifications
You must be signed in to change notification settings - Fork 4
Centralize errors originating in CLI #193
Copy link
Copy link
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
Currently the sysand crate is littered with bail! and anyhow! macros used to generate ad hoc errors in place. It would be nice to try to centralize these in the CliError enum, partly to reduce duplication of error messages and partly to get a better overview of the errors originating in the CLI.
Note that bail! is still useful for simplifying the control flow of error handling but it could preferably be bail!(CliError::<...>) instead of bail!("<ad hoc message>").
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers