package async_rpc_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t =
  1. | One_way_so_no_response
  2. | Partial_response
  3. | Response_finished_ok
    (*

    The response was interpreted as successful

    *)
  4. | Response_finished_rpc_error_or_exn of Rpc_error.t
    (*

    The response was an rpc-level error, e.g. the implementation raised or its response was too large to send.

    *)
  5. | Response_finished_user_defined_error
    (*

    The response was successfully deserialized and determined to be some application-specific error

    *)
  6. | Response_finished_expert_uninterpreted
    (*

    For some expert dispatches, we can’t always tell if a response was successful so use this variant.

    *)
val globalize : t -> t
include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
OCaml

Innovation. Community. Security.