Module Dune_caml.Result

include sig ... end
type ('a, 'error) t = ('a'error) Stdlib.Pervasives.result =
| Ok of 'a
| Error of 'error

The result type.

It is equal to the result type defined by the standard library for OCaml >= 4.03.

type ('a, 'error) result = ('a'error) t