package dune-rpc

  1. Overview
  2. Docs

Module Response.ErrorSource

Sourcetype kind =
  1. | Invalid_request
  2. | Code_error
  3. | Connection_dead
Sourcetype t = {
  1. payload : Csexp.t option;
  2. message : string;
  3. kind : kind;
}
Sourceval payload : t -> Csexp.t option
Sourceval message : t -> string
Sourceval kind : t -> kind
Sourceexception E of t
Sourceval to_dyn : t -> Dyn.t
Sourceval of_conv : Conv.error -> t
Sourceval create : ?payload:Csexp.t -> kind:kind -> message:string -> unit -> t
OCaml

Innovation. Community. Security.