package dune

  1. Overview
  2. Docs
include sig ... end
type ('a, 'error) t = ('a, 'error) Pervasives.result =
  1. | Ok of 'a
  2. | 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
OCaml

Innovation. Community. Security.