package jsonrpc

  1. Overview
  2. Docs

Module Response.ErrorSource

Sourcemodule Code : sig ... end
Sourcetype t = {
  1. code : Code.t;
  2. message : string;
  3. data : Json.t option;
}
Sourceexception E of t
Sourceval make : ?data:Json.t -> code:Code.t -> message:string -> unit -> t
Sourceval raise : t -> 'a
Sourceval of_exn : exn -> t
Sourceval yojson_of_t : t -> Json.t
OCaml

Innovation. Community. Security.