ppx_meta_conv

Ppx based type_conv for various tree data formats
IN THIS PACKAGE
Module Meta_conv . Error
Decoding errors
type desc = [
| `Exception of exn
| `Unknown_fields of string * string list * Obj.t
| `Unknown_tag of string * string
| `Required_field_not_found of string * string
| `Wrong_arity of int * int * (string * string) option
| `Primitive_decoding_failure of string
| `Sub_decoders_failed_for_one_of of string
]
type 'target trace = [ `Node of 'target | `Pos of int | `Field of string ] list

Position information of decoded data

type 'target t = desc * 'target * 'target trace
val format : ( Format.formatter -> 'target -> unit ) -> Format.formatter -> 'target t -> unit

Print out t with its trace

val format_desc : Format.formatter -> desc -> unit

Print out t without its trace

val format_trace_item : ( Format.formatter -> 'target -> unit ) -> Format.formatter -> [< `Field of string | `Node of 'target | `Pos of int ] -> unit

Print out one trace item

module LocalException (A : sig ... end) : sig ... end

LocalException functor to have exception with target type