mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-07 19:55:41 -05:00
8 lines
202 B
OCaml
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
|