Update docs
This commit is contained in:
11
doc/op.html
11
doc/op.html
@@ -120,6 +120,8 @@ function main() {
|
|||||||
title="fail(op: OP; msg: string): OP"><wbr />fail<span class="attachedType">OP</span></a></li>
|
title="fail(op: OP; msg: string): OP"><wbr />fail<span class="attachedType">OP</span></a></li>
|
||||||
<li><a class="reference" href="#fail%2Cstring"
|
<li><a class="reference" href="#fail%2Cstring"
|
||||||
title="fail[T](msg: string): OP[T]"><wbr />fail<span class="attachedType">OP</span></a></li>
|
title="fail[T](msg: string): OP[T]"><wbr />fail<span class="attachedType">OP</span></a></li>
|
||||||
|
<li><a class="reference" href="#fail%2Ctypedesc%2Cstring"
|
||||||
|
title="fail(T: typedesc; msg: string): OP[T]"><wbr />fail<span class="attachedType">OP</span></a></li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
@@ -195,6 +197,13 @@ Will create a new operation result with the given error message. The type for th
|
|||||||
<span class="Identifier">assert</span> <span class="Identifier">res</span><span class="Other">.</span><span class="Identifier">isOk</span> <span class="Operator">==</span> <span class="Identifier">false</span>
|
<span class="Identifier">assert</span> <span class="Identifier">res</span><span class="Other">.</span><span class="Identifier">isOk</span> <span class="Operator">==</span> <span class="Identifier">false</span>
|
||||||
<span class="Identifier">assert</span> <span class="Identifier">res</span><span class="Other">.</span><span class="Identifier">error</span> <span class="Operator">==</span> <span class="StringLit">"Something is wrong!"</span></pre>
|
<span class="Identifier">assert</span> <span class="Identifier">res</span><span class="Other">.</span><span class="Identifier">error</span> <span class="Operator">==</span> <span class="StringLit">"Something is wrong!"</span></pre>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<a id="fail,typedesc,string"></a>
|
||||||
|
<dt><pre><span class="Keyword">proc</span> <a href="#fail%2Ctypedesc%2Cstring"><span class="Identifier">fail</span></a><span class="Other">(</span><span class="Identifier">T</span><span class="Other">:</span> <span class="Identifier">typedesc</span><span class="Other">;</span> <span class="Identifier">msg</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <a href="op.html#OP"><span class="Identifier">OP</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span></pre></dt>
|
||||||
|
<dd>
|
||||||
|
|
||||||
|
Alias for <a class="reference external" href="#fail,string">fail[T](string) proc</a>
|
||||||
|
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
</dl></div>
|
</dl></div>
|
||||||
@@ -206,7 +215,7 @@ Will create a new operation result with the given error message. The type for th
|
|||||||
<div class="twelve-columns footer">
|
<div class="twelve-columns footer">
|
||||||
<span class="nim-sprite"></span>
|
<span class="nim-sprite"></span>
|
||||||
<br/>
|
<br/>
|
||||||
<small style="color: var(--hint);">Made with Nim. Generated: 2020-07-01 21:23:47 UTC</small>
|
<small style="color: var(--hint);">Made with Nim. Generated: 2020-07-02 16:10:27 UTC</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user