package jsonrpc

  1. Overview
  2. Docs

Module Jsonrpc.ResponseSource

Sourcemodule Error : sig ... end
Sourcetype t = {
  1. id : Id.t;
  2. result : (Yojson.Safe.t, Error.t) Result.t;
}
Sourceval ok : Id.t -> Yojson.Safe.t -> t
Sourceval error : Id.t -> Error.t -> t
include Ppx_yojson_conv_lib.Yojsonable.S with type t := t
Sourceval t_of_yojson : Yojson.Safe.t -> t
Sourceval yojson_of_t : t -> Yojson.Safe.t
OCaml

Innovation. Community. Security.