Error-Messages.html (2367B)
1 <html lang="en"> 2 <head> 3 <title>Error Messages - klisp Reference Manual</title> 4 <meta http-equiv="Content-Type" content="text/html"> 5 <meta name="description" content="klisp Reference Manual"> 6 <meta name="generator" content="makeinfo 4.13"> 7 <link title="Top" rel="start" href="index.html#Top"> 8 <link rel="up" href="Conventions.html#Conventions" title="Conventions"> 9 <link rel="prev" href="Printing-Notation.html#Printing-Notation" title="Printing Notation"> 10 <link rel="next" href="Format-of-Descriptions.html#Format-of-Descriptions" title="Format of Descriptions"> 11 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> 12 <meta http-equiv="Content-Style-Type" content="text/css"> 13 <style type="text/css"><!-- 14 pre.display { font-family:inherit } 15 pre.format { font-family:inherit } 16 pre.smalldisplay { font-family:inherit; font-size:smaller } 17 pre.smallformat { font-family:inherit; font-size:smaller } 18 pre.smallexample { font-size:smaller } 19 pre.smalllisp { font-size:smaller } 20 span.sc { font-variant:small-caps } 21 span.roman { font-family:serif; font-weight:normal; } 22 span.sansserif { font-family:sans-serif; font-weight:normal; } 23 --></style> 24 <link rel="stylesheet" type="text/css" href="css/style.css"> 25 </head> 26 <body> 27 <div class="node"> 28 <a name="Error-Messages"></a> 29 <p> 30 Next: <a rel="next" accesskey="n" href="Format-of-Descriptions.html#Format-of-Descriptions">Format of Descriptions</a>, 31 Previous: <a rel="previous" accesskey="p" href="Printing-Notation.html#Printing-Notation">Printing Notation</a>, 32 Up: <a rel="up" accesskey="u" href="Conventions.html#Conventions">Conventions</a> 33 <hr> 34 </div> 35 36 <h4 class="subsection">1.3.4 Error Messages</h4> 37 38 <p><a name="index-error-message-notation-6"></a> 39 Some examples cause errors to be signaled. The report doesn't 40 specify what objects are passed to the error continuation, but in 41 klisp, objects passed to the error continuation are encapsulated error 42 objects that have at least a message and possibly some additional 43 objects and context informations (such as source code location). In 44 the examples, the error message is shown on a line starting with 45 ‘<samp><span class="samp">error--></span></samp>’. 46 47 <pre class="example"> (+ 23 #t) 48 error--> Wrong type argument: (expected number) (#t) 49 </pre> 50 </body></html> 51