aboutsummaryrefslogtreecommitdiff
path: root/docs/doc/assert.html
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-06-11 20:08:12 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-06-11 20:08:12 -0400
commitb6bcf214e638fd36ef7d76c9f573a84e6e016482 (patch)
treea435e4f0afed7266b868798e51b792c4600fabe1 /docs/doc/assert.html
parent383298b70274c5ac22eb2100aad7f6cd8eeca02d (diff)
Nothing but edits yet again
Diffstat (limited to 'docs/doc/assert.html')
-rw-r--r--docs/doc/assert.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/doc/assert.html b/docs/doc/assert.html
index 83d4b46c..ceccf72a 100644
--- a/docs/doc/assert.html
+++ b/docs/doc/assert.html
@@ -43,7 +43,7 @@
<span class='Number'>0.5</span> <span class='Function'>⌽</span><span class='Modifier2'>⎊</span><span class='Function'>⊣</span> <span class='Function'>↕</span><span class='Number'>6</span> <span class='Comment'># A two-argument example
</span>0.5
</pre>
-<p>Catch doesn't know anything about what an error <em>is</em>, just whether there was one or not. In fact, the idea of error message doesn't feature at all in core BQN: it's purely part of the language environment. So you need a system value to access information about the error. Right now the only one is <code><span class='Function'>•CurrentError</span></code>, which is a function that returns a message for the error currently caught (if any).</p>
+<p>Catch doesn't know anything about what an error <em>is</em>, just whether there was one or not. In fact, the idea of an error message doesn't feature at all in core BQN: it's purely part of the language environment. So you need a system value to access information about the error. Right now the only one is <code><span class='Function'>•CurrentError</span></code>, which is a function that returns a message for the error currently caught (if any).</p>
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=4oy94o6K4oCiQ3VycmVudEVycm9yIDI=">↗️</a><pre> <span class='Function'>⌽</span><span class='Modifier2'>⎊</span><span class='Function'>•CurrentError</span> <span class='Number'>2</span>
"⌽: Argument cannot be a unit"
</pre>