package spin

  1. Overview
  2. Docs
type t = [
  1. | `Missing_env_var of Spin_std.string
  2. | `Failed_to_parse of Spin_std.string * Spin_std.string
  3. | `Invalid_template of Spin_std.string * Spin_std.string
  4. | `Failed_to_generate of Spin_std.string
  5. | `Generator_error of Spin_std.string * Spin_std.string
]
val to_string : t -> Spin_std.string
val missing_env : Spin_std.string -> t
val failed_to_parse : msg:Spin_std.string -> Spin_std.string -> t
val failed_to_generate : Spin_std.string -> t
val invalid_template : msg:Spin_std.string -> Spin_std.string -> t
val generator_error : msg:Spin_std.string -> Spin_std.string -> t
val of_decoder_error : file:Spin_std.string -> Decoder.error -> t
OCaml

Innovation. Community. Security.