package jsonrpc

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

Innovation. Community. Security.