package dune-rpc

  1. Overview
  2. Docs
Communicate with dune using rpc

Install

dune-project
 Dependency

Authors

Maintainers

Sources

dune-3.20.2.tbz
sha256=b1a86b2d60bdb4a8b9bb6861bdf2f9f28a6e7cb5d833ce81afecceb9ef9ca549
sha512=ed14df9163e487d4ae7d0a2427eaab7823ef1f0ef2d93f0b783e6f163bbd5b44ba73f055d60b84e76f476fe11d38e794013628a1da776d9ec13cca9666e7b7ff

doc/dune-rpc.private/Dune_rpc_private/Response/Error/index.html

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