;</span> Unsigned.size_t <span>&#45;&gt;</span> <span><span>(int, <span>[&gt; <a href="../../Olm/OlmError/index.html#type-t">Olm.OlmError.t</a> ]</span>)</span> Core.result</span></code></dt><dd><p><code>check_error t ret</code></p><p>Check whether return code <code>ret</code> is equal to `olm_error()` ( -1 ), returning the return value as an int if not, and the `last_error` from the pk signing object <code>t</code> if so.</p></dd></dl><dl><dt class="spec value" id="val-alloc"><a href="#val-alloc" class="a