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.
4 lines
1.6 KiB
4 lines
1.6 KiB
5 years ago
|
<!DOCTYPE html>
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferStdlib__IExn (InferStdlib.InferStdlib__IExn)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> — <span class="package">package <a href="../index.html">InferStdlib</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">InferStdlib__IExn</span></h1></header><div class="spec val" id="val-reraise_after"><a href="#val-reraise_after" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>reraise_after : f:(unit <span class="keyword">‑></span> unit) <span class="keyword">‑></span> exn <span class="keyword">‑></span> <span class="type-var">'a</span></code></div><div class="doc"><p>Reraise the exception after doing f. Always reraise immediately after catching the exception,
|
||
|
otherwise the backtrace can be wrong.</p></div></div><div class="spec val" id="val-reraise_if"><a href="#val-reraise_if" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>reraise_if : f:(unit <span class="keyword">‑></span> bool) <span class="keyword">‑></span> exn <span class="keyword">‑></span> unit</code></div><div class="doc"><p>Reraise the exception if f returns true. Always reraise immediately after catching the
|
||
|
exception, otherwise the backtrace can be wrong.</p></div></div></body></html>
|