Up

Module Rpc_error

Internal to Async_rpc_kernel.

Signature

type t = Protocol.Rpc_error.t =
| Bin_io_exn of Core_kernel.Std.Sexp.t
| Connection_closed
| Write_error of Core_kernel.Std.Sexp.t
| Uncaught_exn of Core_kernel.Std.Sexp.t
| Unimplemented_rpc of Protocol.Rpc_tag.t * [
| `Version of int
]
| Unknown_query_id of Protocol.Query_id.t
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
val bin_size_t : t -> int
val bin_writer_t : t Bin_prot.Type_class.writer
val __bin_read_t__ : 'a -> pos_ref:Bin_prot.Common.pos Pervasives.ref -> 'b -> 'c
val bin_read_t : Bin_prot.Common.buf -> pos_ref:Bin_prot.Common.pos_ref -> t
val bin_reader_t : t Bin_prot.Type_class.reader
include Core_kernel.Std.Stringable.S with type t := t
type t
val of_string : string -> t
val to_string : t -> string
exception Rpc of t * Core_kernel.Std.Info.t
val raise : t -> Core_kernel.Std.Info.t -> 'a