package climate

  1. Overview
  2. Docs

Module For_test.Parse_errorSource

Sourcetype t =
  1. | Arg_lacks_param of Climate__.Name.t
  2. | Flag_has_param of {
    1. name : Climate__.Name.t;
    2. value : string;
    }
  3. | No_such_arg of Climate__.Name.t
  4. | Name_would_begin_with_dash of string
  5. | Short_name_would_be_dash of {
    1. entire_short_sequence : string;
    }
  6. | Short_name_used_with_dash_dash of Climate__.Name.t
  7. | Pos_req_missing of int
  8. | Named_req_missing of Climate__.Name.t Climate__.Climate_stdlib.Nonempty_list.t
  9. | Named_opt_appeared_multiple_times of Climate__.Name.t Climate__.Climate_stdlib.Nonempty_list.t * int
  10. | Named_req_appeared_multiple_times of Climate__.Name.t Climate__.Climate_stdlib.Nonempty_list.t * int
  11. | Flag_appeared_multiple_times of Climate__.Name.t Climate__.Climate_stdlib.Nonempty_list.t * int
  12. | Conv_failed of {
    1. locator : [ `Named of Climate__.Name.t | `Positional of int ] option;
    2. message : string;
    }
  13. | Too_many_positional_arguments of {
    1. max : int;
    }
  14. | Invalid_char_in_argument_name of {
    1. attempted_argument_name : string;
    2. invalid_char : char;
    }
Sourceval to_string : t -> string
Sourceval exit_code : int
OCaml

Innovation. Community. Security.