package tezos-error-monad

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

Innovation. Community. Security.