You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
1.5 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>IExn (infer.IStdlib.IExn)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../../index.html">infer</a> &#x00BB; <a href="../index.html">IStdlib</a> &#x00BB; IExn</nav><h1>Module <code>IStdlib.IExn</code></h1></header><dl><dt class="spec value" id="val-reraise_after"><a href="#val-reraise_after" class="anchor"></a><code><span class="keyword">val</span> reraise_after : <span>f:<span>(unit <span>&#45;&gt;</span> unit)</span></span> <span>&#45;&gt;</span> exn <span>&#45;&gt;</span> <span class="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><dt class="spec value" id="val-reraise_if"><a href="#val-reraise_if" class="anchor"></a><code><span class="keyword">val</span> reraise_if : <span>f:<span>(unit <span>&#45;&gt;</span> bool)</span></span> <span>&#45;&gt;</span> exn <span>&#45;&gt;</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>