package datakit-ci

  1. Overview
  2. Docs
type error = [
  1. | `Failure of string
  2. | `Pending of string
]
type 'a t = ('a, error) result
val pp_error : error Fmt.t
val pp : 'a Fmt.t -> 'a t Fmt.t
val v : [< `Success | `Pending | `Failure ] -> string -> string t
val status : _ t -> [> `Success | `Pending | `Failure ]
val descr : string t -> string
val json_of : string t -> Yojson.Basic.json
val of_json : Yojson.Basic.json -> string t