Lines Matching refs:ErrorKind
22 pub enum ErrorKind { enum
380 pub kind: ErrorKind,
389 ErrorKind::HelpDisplayed | ErrorKind::VersionDisplayed => false, in use_stderr()
444 kind: ErrorKind::ArgumentConflict, in argument_conflict()
469 kind: ErrorKind::EmptyValue, in empty_value()
515 kind: ErrorKind::InvalidValue, in invalid_value()
556 kind: ErrorKind::InvalidSubcommand, in invalid_subcommand()
584 kind: ErrorKind::UnrecognizedSubcommand, in unrecognized_subcommand()
609 kind: ErrorKind::MissingRequiredArgument, in missing_required_argument()
634 kind: ErrorKind::MissingSubcommand, in missing_subcommand()
657 kind: ErrorKind::InvalidUtf8, in invalid_utf8()
685 kind: ErrorKind::TooManyValues, in too_many_values()
719 kind: ErrorKind::TooFewValues, in too_few_values()
741 kind: ErrorKind::ValueValidation, in value_validation()
783 kind: ErrorKind::WrongNumberOfValues, in wrong_number_of_values()
808 kind: ErrorKind::UnexpectedMultipleUsage, in unexpected_multiple_usage()
840 kind: ErrorKind::UnknownArgument, in unknown_argument()
853 kind: ErrorKind::Io, in io_error()
874 kind: ErrorKind::ArgumentNotFound, in argument_not_found_auto()
883 pub fn with_description(description: &str, kind: ErrorKind) -> Self { in with_description()
910 Error::with_description(e.description(), ErrorKind::Io) in from()
916 Error::with_description(e.description(), ErrorKind::Format) in from()