package jsonrpc

  1. Overview
  2. Docs
module Code : sig ... end
type t = {
  1. code : Code.t;
  2. message : string;
  3. data : Json.t option;
}
exception E of t
val make : ?data:Json.t -> code:Code.t -> message:string -> unit -> t
val raise : t -> 'a
val of_exn : exn -> t
val yojson_of_t : t -> Json.t
OCaml

Innovation. Community. Security.