<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>IStdlib__IExn (infer.IStdlib__IExn)</title><linkrel="stylesheet"href="../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.2"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../index.html">infer</a>» IStdlib__IExn</nav><h1>Module <code>IStdlib__IExn</code></h1></header><dl><dtclass="spec value"id="val-reraise_after"><ahref="#val-reraise_after"class="anchor"></a><code><spanclass="keyword">val</span> reraise_after : <span>f:<span>(unit <span>-></span> unit)</span></span><span>-></span> exn <span>-></span><spanclass="type-var">'a</span></code></dt><dd><p>Reraise the exception after doing f. Always reraise immediately after catching the exception, otherwise the backtrace can be wrong.</p></dd></dl><dl><dtclass="spec value"id="val-reraise_if"><ahref="#val-reraise_if"class="anchor"></a><code><spanclass="keyword">val</span> reraise_if : <span>f:<span>(unit <span>-></span> bool)</span></span><span>-></span> exn <span>-></span> unit</code></dt><dd><p>Reraise the exception if f returns true. Always reraise immediately after catching the exception, otherwise the backtrace can be wrong.</p></dd></dl></div></body></html>