package pbrt

  1. Overview
  2. Docs
Runtime library for Protobuf tooling

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ocaml-protoc-4.0.tbz
sha256=88533848ee8ad662bfb063f34932286405977fa3810515b997119b06f05105e4
sha512=df12c71f7181eafc94cd0fc400edf7f258cdd3740a5badafce097f771b7828fed9a9a9c0a457e7e118848a8b1ddd87fe3134a5bdf88d4adcb0d0e04ba6808c5f

doc/pbrt.options/Pbrt_options/E/index.html

Module Pbrt_options.ESource

All exceptions which could be raised by the generated option parsers.

Sourcetype error =
  1. | Unexpected_option_type of string * string
  2. | Malformed_variant of string
Sourceexception Failure of error

Decoding/Encoding failure

Sourceval unexpected_option_type : string -> string -> 'a

unexpected_option_type record_name field_name raises Failure (Unexpected_json_type (record_name, field_name))

Sourceval malformed_variant : string -> 'a

malformed_variant variant_name raise Failure (Malformed_variant variant_name)