Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module PP = Pretty_print
type format_error =
| Bad_wire_type of Types.low_level_type option
| Unknown_tag of int
| Conversion_error of exn
type extprot_error =
| Missing_tuple_element of int
| Missing_field
| Bad_format of format_error
| Limit_exceeded of limit
exception Extprot_error of extprot_error * location
val pp_location : Format.formatter -> location -> unit
val pp_format_error : Format.formatter -> format_error -> unit
val pp_limit : Format.formatter -> limit -> unit
val pp_extprot_error : Format.formatter -> (extprot_error * location) -> unit
val extprot_error : extprot_error -> location -> 'a
val bad_format : format_error -> location -> 'a
val failwith_location :
?message:string ->
?constructor:string ->
?field:string ->
extprot_error ->
location ->
'a
val bad_wire_type :
?message:string ->
?constructor:string ->
?field:string ->
?ll_type:Types.low_level_type ->
unit ->
'a
val limit_exceeded :
?message:string ->
?constructor:string ->
?field:string ->
limit ->
'a