package hg_lib

  1. Overview
  2. Docs

This is just a wrapper around Or_error.t. It exists because it is for very simple errors (e.g. "unexpected exit status") which you should tag to produce better errors containing, e.g., the final list of arguments passed to hg.

module Public : sig ... end
include module type of struct include Public end
type 'a t = 'a Core.Or_error.t
val tag : 'a Core.Or_error.t -> string -> 'b -> ('b -> Base.Sexp.t) -> 'a Core.Or_error.t
val simple_error : 'a -> 'a
val create : 'a -> 'a