Module Capnp_rpc.Exception
Cap'n Proto exceptions.
type ty = [
|
`Failed
|
`Overloaded
|
`Disconnected
|
`Unimplemented
|
`Undefined of int
]
type t = {
ty : ty;
reason : string;
}
val pp_ty :
Stdlib.Format.formatter ->
[< `Disconnected
| `Failed
| `Overloaded
| `Undefined of int
| `Unimplemented ] ->
unit
val pp : Stdlib.Format.formatter -> t -> unit
val v : ?ty:ty -> string -> t