ocaml-opentelemetry/pbrt/Pbrt_options/E/index.html
2025-12-05 15:22:35 +00:00

2 lines
3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>E (pbrt.Pbrt_options.E)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.1.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../../index.html">Index</a> &#x00BB; <a href="../../index.html">pbrt</a> &#x00BB; <a href="../index.html">Pbrt_options</a> &#x00BB; E</nav><header class="odoc-preamble"><h1>Module <code><span>Pbrt_options.E</span></code></h1><p>All exceptions which could be raised by the generated option parsers.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-error"><a href="#type-error" class="anchor"></a><code><span><span class="keyword">type</span> error</span><span> = </span></code><ol><li id="type-error.Unexpected_option_type" class="def variant constructor anchored"><a href="#type-error.Unexpected_option_type" class="anchor"></a><code><span>| </span><span><span class="constructor">Unexpected_option_type</span> <span class="keyword">of</span> string * string</span></code></li><li id="type-error.Malformed_variant" class="def variant constructor anchored"><a href="#type-error.Malformed_variant" class="anchor"></a><code><span>| </span><span><span class="constructor">Malformed_variant</span> <span class="keyword">of</span> string</span></code></li></ol></div></div><div class="odoc-spec"><div class="spec exception anchored" id="exception-Failure"><a href="#exception-Failure" class="anchor"></a><code><span><span class="keyword">exception</span> </span><span><span class="exception">Failure</span> <span class="keyword">of</span> <a href="#type-error">error</a></span></code></div><div class="spec-doc"><p>Decoding/Encoding failure</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-unexpected_option_type"><a href="#val-unexpected_option_type" class="anchor"></a><code><span><span class="keyword">val</span> unexpected_option_type : <span>string <span class="arrow">&#45;&gt;</span></span> <span>string <span class="arrow">&#45;&gt;</span></span> <span class="type-var">'a</span></span></code></div><div class="spec-doc"><p><code>unexpected_option_type record_name field_name</code> raises <code>Failure (Unexpected_json_type (record_name, field_name))</code></p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-malformed_variant"><a href="#val-malformed_variant" class="anchor"></a><code><span><span class="keyword">val</span> malformed_variant : <span>string <span class="arrow">&#45;&gt;</span></span> <span class="type-var">'a</span></span></code></div><div class="spec-doc"><p><code>malformed_variant variant_name</code> raise <code>Failure (Malformed_variant variant_name)</code></p></div></div></div></body></html>