package octez-libs

  1. Overview
  2. Docs
val get_ok : loc:string -> ('a, 'trace) result -> 'a
val get_error : loc:string -> ('a, 'trace) result -> 'trace
val to_exn : ('a, exn) result -> 'a
val to_exn_f : error:('b -> exn) -> ('a, 'b) result -> 'a
OCaml

Innovation. Community. Security.