mirror of
https://github.com/haraldh/chainerror.git
synced 2025-06-08 00:44:42 +02:00
parent
188d93a86a
commit
719e221e4b
15 changed files with 31 additions and 28 deletions
|
@ -140,7 +140,7 @@
|
|||
|
||||
<div id="content" class="content">
|
||||
<main>
|
||||
<a class="header" href="#the-source-of-errors" id="the-source-of-errors"><h2>The source() of Errors</h2></a>
|
||||
<a class="header" href="#the-source-of-errors" id="the-source-of-errors"><h1>The source() of Errors</h1></a>
|
||||
<p>Sometimes you want to inspect the <code>source()</code> of an <code>Error</code>.
|
||||
<code>chainerror</code> implements <code>std::error::Error::source()</code>, so you can get the cause of an error.</p>
|
||||
<pre><pre class="playpen"><code class="language-rust">use crate::chainerror::*;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue