package ocaml-protoc

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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 -> string -> 'a
Sourceval protoc_parsing_error : error -> Pb_location.t -> string -> 'a
Sourceval unknown_parsing_error : msg:string -> context:string -> Pb_location.t -> 'a
Sourceval invalid_protobuf_syntax : string -> 'a
Sourceval invalid_proto3_field_label : field_name:string -> message_name:string -> 'a
Sourceval invalid_rpc_req_type : service_name:string -> rpc_name:string -> unit -> 'a
Sourceval invalid_rpc_res_type : service_name:string -> rpc_name:string -> unit -> '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.