Skip to content
Myr

Improve error message

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by David Peter · parent 701a383 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/error.rs+1 added-1 removed
13 unmodified lines
14 #[error("Parameter range is too large")]15 TooLarge,16 #[error("Zero is not a valid parameter step")]17 ZeroStep,18 #[error("A step size is required when the range bounds are floating point numbers. The step size can be specified with the '--parameter-step-size' parameter")]18 #[error("A step size is required when the range bounds are floating point numbers. The step size can be specified with the '-D/--parameter-step-size <DELTA>' parameter")]19 StepRequired,20 #[error("'--command-name' has been specified {0} times. It has to appear exactly once, or exactly {1} times (number of benchmarks)")]21 UnexpectedCommandNameCount(usize, usize),22}
30 unmodified lines