package jsonrpc

  1. Overview
  2. Docs
module Error : sig ... end
type t = {
  1. id : Id.t;
  2. result : (Json.t, Error.t) Stdlib.Result.t;
}
val ok : Id.t -> Json.t -> t
val error : Id.t -> Error.t -> t
include Json.Jsonable.S with type t := t
val yojson_of_t : t -> Json.t
val t_of_yojson : Json.t -> t