Dune_rpc_private.Compound_user_errorSourceA 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.
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 = Stdune.User_message.Compound.t = {main : Stdune.User_message.t;severity : Stdune.User_message.Severity.t;}Make a t with severity as Error.
val make_with_severity :
main:Stdune.User_message.t ->
related:Stdune.User_message.t list ->
severity:Stdune.User_message.Severity.t ->
t