Parameters
Signature
val raise_error : [< t ] -> 'a
val log_error : string -> [< t ] -> unit
val catch : (unit -> 'a) -> ('a, t) Stdlib.result
val raise_if_error : ('a, [< t ]) Stdlib.result -> 'a
val log_if_error : string -> ('a, [< t ]) Stdlib.result -> unit