package dune-rpc

  1. Overview
  2. Docs
type kind =
  1. | Invalid_request
  2. | Code_error
type t = {
  1. payload : Csexp.t option;
  2. message : string;
  3. kind : kind;
}
val payload : t -> Csexp.t option
val message : t -> string
val kind : t -> kind
exception E of t
val to_dyn : t -> Dyn.t
val of_conv : Conv.error -> t
val create : ?payload:Csexp.t -> kind:kind -> message:string -> unit -> t
OCaml

Innovation. Community. Security.