package dune-rpc

  1. Overview
  2. Docs

Module Dune_rpc_private.Compound_user_errorSource

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

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

Innovation. Community. Security.