Common error reporting functions
type error = [
| `Msg of string | A fatal error condition; the string should be logged |
]
type 'a t = ('a, error) Stdlib.result
val return : 'a -> ('a, error) Stdlib.result
val error_msg : ('a, Stdlib.Format.formatter, unit, ('b, [> `Msg of string ]) Stdlib.result) Stdlib.format4 -> 'a
val (>>=) : ('a, 'b) Stdlib.result -> ('a -> ('c, 'b) Stdlib.result) -> ('c, 'b) Stdlib.result