Module Dune_rpc_private.Compound_user_error

A compound user error defines an alternative format for error messages that retains more structure. This can be used to display the errors in richer form by RPC clients.

type t = private {
  1. main : User_message.t;
  2. related : User_message.t list;
}
val sexp : t Conv.value
val to_dyn : t -> Dyn.t
val make : main:User_message.t -> related:User_message.t list -> t
val parse_output : dir:Stdune.Path.t -> string -> t list