sidekick/src/util/Error.mli
2022-09-19 22:27:43 -04:00

8 lines
202 B
OCaml

exception Error of string
val errorf : ('a, Format.formatter, unit, 'b) format4 -> 'a
(** @raise Error when called *)
type nonrec 'a result = ('a, string) result
val try_ : (unit -> 'a) -> 'a result