package ocaml-protoc

  1. Overview
  2. Docs
Protobuf compiler for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

2.4.0.tar.gz
md5=8a294e86c6202b8ec8016e71d19264cb
sha512=67020bef50b59c6590c1b25d85a75d6e19d6cd37d42b87c94aef798bff51a45f38fe7024b4c67d71c22c13d3f2776bec83acd77794a518f1c4a7eddfc30b6d0b

doc/ocaml-protoc.compiler-lib/Ocaml_protoc_compiler_lib/Pb_exception/index.html

Module Ocaml_protoc_compiler_lib.Pb_exceptionSource

Compiler exception

Types

Sourcetype programmatic_error =
  1. | Invalid_string_split
  2. | No_type_found_for_id
Sourcetype error
Sourceexception Compilation_error of error

Exception raised when a compilation error occurs

Raise Functions

Sourceval unresolved_type : field_name:string -> type_:string -> message_name:string -> unit -> 'a
Sourceval duplicated_field_number : field_name:string -> previous_field_name:string -> message_name:string -> unit -> 'a
Sourceval invalid_default_value : ?field_name:string -> info:string -> unit -> 'a
Sourceval unsupported_field_type : ?field_name:string -> field_type:string -> backend_name:string -> unit -> 'a
Sourceval import_file_not_found : string -> 'a
Sourceval programmatic_error : programmatic_error -> 'a
Sourceval invalid_import_qualifier : Pb_location.t -> 'a
Sourceval invalid_file_name : string -> 'a
Sourceval invalid_packed_option : string -> 'a
Sourceval missing_semicolon_for_enum_value : string -> Pb_location.t -> 'a
Sourceval invalid_enum_specification : string -> Pb_location.t -> 'a
Sourceval invalid_mutable_option : ?field_name:string -> unit -> 'a
Sourceval missing_one_of_name : Pb_location.t -> 'a
Sourceval missing_field_label : field_name:string -> message_name:string -> 'a
Sourceval invalid_ppx_extension_option : string -> 'a
Sourceval ocamlyacc_parsing_error : Pb_location.t -> 'a
Sourceval protoc_parsing_error : error -> Pb_location.t -> 'a
Sourceval unknown_parsing_error : string -> Pb_location.t -> 'a
Sourceval invalid_protobuf_syntax : string -> 'a
Sourceval invalid_proto3_field_label : field_name:string -> message_name:string -> 'a
Sourceval default_field_option_not_supported : field_name:string -> message_name:string -> 'a
Sourceval invalid_first_enum_value_proto3 : ?message_name:string -> enum_name:string -> unit -> 'a
Sourceval invalid_key_type_for_map : string -> 'a
Sourceval unsupported_wrapper_type : string -> 'a
OCaml

Innovation. Community. Security.