Ocaml_protoc_plugin.ResultSourcetype error = [ | `Premature_end_of_input| `Unknown_field_type of int| `Wrong_field_type of string * string| `Illegal_value of string * Field.t| `Unknown_enum_value of int| `Unknown_enum_name of string| `Required_field_missing of int * string ]catch f catches any exception of type Result.Error raised and returns a result type
Pretty printer of the error type
val pp :
(Format.formatter -> 'a -> unit) ->
Format.formatter ->
('a, [< error ]) result ->
unitPrettyprinter