summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar John Cowan 2021-07-25 23:30:23 -0400
committerGravatar Arthur A. Gleckler 2021-07-26 16:10:31 -0700
commitac1bc7f423938c41bf270054482900b72ed77964 (patch)
treeb12d1200c3606340ab2a6ea7635a43090fe47b23
parentnew example (diff)
exceptions
Diffstat (limited to '')
-rw-r--r--srfi-225.html16
1 files changed, 15 insertions, 1 deletions
diff --git a/srfi-225.html b/srfi-225.html
index 7467673..26df762 100644
--- a/srfi-225.html
+++ b/srfi-225.html
@@ -266,8 +266,22 @@ that file.<p>
<p><code>(make-alist-dtd</code>&nbsp;<em>equal</em><code>)</code></p>
<p>Returns a DTD for manipulating an alist using the equality predicate <em>equal</em>.</p>
<blockquote><code>(make-alist-dtd =) =&gt; a DTD for alists using numeric equality</code></blockquote>
+<h3 id="exceptions">Exceptions</h3>
+<p><code>dictionary-error</code>&nbsp;<em>message irritant</em> ... <code>)</code></p>
+<p>Returns a dictionary error with the given <em>message</em> (a string) and
+<em>irritants</em> (any objects).
+If a particular procedure in a DTD cannot be implemented, it instead
+should signal an appropriate dictionary exception that can be reliably caught.
+<p><code>dictionary-error?</code>&nbsp;<em>obj</em><code>)</code></p>
+<p>Returns <code>#t</code> if <em>obj</em> is a dictionary error
+and <code>#f</code> otherwise.
+<p><code>dictionary-message</code>&nbsp<em>dictionary-error</em><code>)</code></p>
+<p>Returns the message associated with <em>dictionary-error.</em></p>
+<p><code>(dictionary-irritants</code>&nbsp<em>dictionary-error</em><code>)</code></p>
+<p>Returns a list of the irritants associated with <em>dictionary-error</em>.</p>
+<h3 id="variables">Variables</h3>
<p>The following DTDs are also exported from this SRFI:
-<code>srfi-69-dtd</code>, <code>hash-table-dtd</code>, <code>srfi-126</code>,
+<code>srfi-69-dtd</code>, <code>hash-table-dtd</code>, <code>srfi-126-dtd</code>,
<code>mapping-dtd</code>, <code>hash-mapping-dtd</code>, <code>plist-dtd</code>,
<code>alist-eqv-dtd</code>, and <code>alist-equal-dtd</code>.
The last two provide DTDs for alists using <code>eqv?</code>
s='deletions'>-7/+39 2000-08-06Added support for isochronous sending.Gravatar aeb 3-0/+35 2000-07-05Added raw1394_reset_bus() call.Gravatar aeb 4-0/+23 2000-06-22- Set library version info in configure.in, use in src/Makefile.am.Gravatar aeb 4-2/+16 2000-06-15Update libtool version number.Gravatar aeb 2-2/+2 2000-06-14Added copyright headers.Gravatar aeb 6-0/+54 2000-06-11Added explicit AC_PROG_INSTALL call.Gravatar aeb 1-0/+1 2000-06-09Fix size of error field.Gravatar aeb 1-2/+2 2000-06-02Modified support for 32/64 bit environments, control struct fields have fixed...Gravatar aeb 7-43/+28 2000-05-28Added support for environments with 64 bit kernel and 32 bit userland.Gravatar aeb 8-7/+45 2000-04-27Fixed missing setting of ext code in raw1394_start_lock()Gravatar aeb 1-0/+1 2000-04-15Fixed lock transaction to actually return response value.Gravatar aeb 3-5/+11 2000-04-12Add userdata functions as news.Gravatar aeb 1-0/+4 2000-04-05Add userdata functions.Gravatar aeb 3-0/+18 2000-03-18Bump version number to 0.6.Gravatar aeb 3-5/+6 2000-03-18Mention byte order change.Gravatar aeb 1-0/+2 2000-03-18Mention SourceForge home.Gravatar aeb 1-1/+5