Module Capnp_rpc.Error

Errors returned by calls.

type t = [
  1. | `Exception of Exception.t
  2. | `Cancelled
]
val pp : Stdlib.Format.formatter -> [< `Cancelled | `Exception of Exception.t ] -> unit
val exn : ?ty:Exception.ty -> ('a, Stdlib.Format.formatter, unit, [> `Exception of Exception.t ]) Stdlib.format4 -> 'b