package ppx_protocol_conv_yaml
Module Protocol_conv_yaml.YamlSource
Source
module Make
(P : Ppx_protocol_driver.Parameters) :
Protocol_conv.Runtime.Driver with type t = Global.Yaml.valueYaml Protocol
include Protocol_conv.Runtime.Driver with type t = Global.Yaml.value
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