Optparser.Error
Option parser errors.
module Option : sig ... end
module Argument : sig ... end
type t = [
| `Missing_mandatory_option of Option.option_error
Missing mandatory option for invoking the CLI command
*)| `Invalid_arguments_length of Argument.invalid_arguments_length_error
Mismatched number of arguments to an option
*)| `Argument_reader_failure of Option.option_error
Failure to read an argument to an option from a string
*)| `Not_an_option of Option.option_error
Unrecognized option provided
*) ]
The type of CLI arguments parsing errors.