package ppx_protocol_conv_msgpack
Module Protocol_conv_msgpack.MsgpackSource
Source
module Make
(P : Ppx_protocol_driver.Parameters) :
Protocol_conv.Runtime.Driver with type t = Msgpck.tinclude Protocol_conv.Runtime.Driver with type t = Msgpck.t
Serialized type. This type should not be opaque, so it is recommended that drivers implement the signature as Runtime.Driver with type t = ...
Opaque error type
Exception for protocol errors. The driver should make sure that this is the only exception raised when deserializing
Construct an error to be raised from a custom parser.
Wrap deserialization function to convert exceptions into an result type