Vcs.Err
include module type of Vcs.Err with type t := t
val sexp_of_t : t -> Sexplib0.Sexp.t
This is deprecated - use Err.sexp_of_t
instead.
val to_string_hum : t -> string
This is deprecated - use Err.to_string_hum
instead.
val error_string : string -> t
This is deprecated - use Err.create
instead.
val create_s : Sexplib0.Sexp.t -> t
This is deprecated - use Err.create
instead.
val of_exn : exn -> t
This is deprecated - use Err.of_exn
instead.
val init : Sexplib0.Sexp.t -> step:Sexplib0.Sexp.t -> t
This is deprecated - use Err.add_context
instead.
module Private : sig ... end
val to_error : t -> Base.Error.t
Inject t
into Base.Error.t
. This is useful if you'd like to use Vcs
inside the Base.Or_error
monad.
val of_error : Base.Error.t -> t
Create an error with no initial step.