2 @c This is part of the XEmacs Lisp Reference Manual.
3 @c Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
4 @c See the file lispref.texi for copying conditions.
5 @setfilename ../../info/errors.info
6 @node Standard Errors, Standard Buffer-Local Variables, Building XEmacs and Object Allocation, Top
7 @appendix Standard Errors
9 Here is the complete list of the error symbols in standard Emacs,
10 grouped by concept. The list includes each symbol's message (on the
11 @code{error-message} property of the symbol) and a cross reference to a
12 description of how the error can occur.
14 Each error symbol has an @code{error-conditions} property that is a
15 list of symbols. Normally this list includes the error symbol itself
16 and the symbol @code{error}. Occasionally it includes additional
17 symbols, which are intermediate classifications, narrower than
18 @code{error} but broader than a single error symbol. For example, all
19 the errors in accessing files have the condition @code{file-error}.
21 As a special exception, the error symbol @code{quit} does not have the
22 condition @code{error}, because quitting is not considered an error.
24 @xref{Errors}, for an explanation of how errors are generated and
29 @var{string}; @var{reference}.
39 @item args-out-of-range
40 @code{"Args out of range"}@*
41 @xref{Sequences Arrays Vectors}.
44 @code{"Arithmetic error"}@*
45 See @code{/} and @code{%} in @ref{Numbers}.
47 @item beginning-of-buffer
48 @code{"Beginning of buffer"}@*
51 @item buffer-read-only
52 @code{"Buffer is read-only"}@*
53 @xref{Read Only Buffers}.
55 @item cyclic-function-indirection
56 @code{"Symbol's chain of function indirections contains a loop"}@*
57 @xref{Function Indirection}.
61 @code{"Arithmetic domain error"}@*
64 @code{"End of buffer"}@*
68 @code{"End of file during parsing"}@*
69 This is not a @code{file-error}.@*
70 @xref{Input Functions}.
73 This error and its subcategories do not have error-strings, because the
74 error message is constructed from the data items alone when the error
75 condition @code{file-error} is present.@*
79 This is a @code{file-error}.@*
82 @item file-already-exists
83 This is a @code{file-error}.@*
84 @xref{Writing to Files}.
86 @item file-supersession
87 This is a @code{file-error}.@*
88 @xref{Modification Time}.
90 @item invalid-byte-code
91 @code{"Invalid byte code"}@*
92 @xref{Byte Compilation}.
94 @item invalid-function
95 @code{"Invalid function"}@*
96 @xref{Classifying Lists}.
98 @item invalid-read-syntax
99 @code{"Invalid read syntax"}@*
100 @xref{Input Functions}.
103 @code{"Invalid regexp"}@*
104 @xref{Regular Expressions}.
108 @code{"The mark is not active now"}@*
111 @code{"No catch for tag"}@*
112 @xref{Catch and Throw}.
116 @code{"Arithmetic overflow error"}@*
119 @item protected-field
120 @code{"Attempt to modify a protected field"}@*
124 @code{"Arithmetic range error"}@*
127 @code{"Search failed"}@*
128 @xref{Searching and Matching}.
130 @item setting-constant
131 @code{"Attempt to set a constant symbol"}@*
132 @xref{Constant Variables, , Variables that Never Change}.
135 @item singularity-error
136 @code{"Arithmetic singularity error"}@*
140 @code{"ToolTalk error"}@*
141 @xref{ToolTalk Support}.
144 @item undefined-keystroke-sequence
145 @code{"Undefined keystroke sequence"}@*
147 @ignore FSF Emacs only
148 @item undefined-color
149 @code{"Undefined color"}@*
154 @code{"Symbol's function definition is void"}@*
155 @xref{Function Cells}.
158 @code{"Symbol's value as variable is void"}@*
159 @xref{Accessing Variables}.
161 @item wrong-number-of-arguments
162 @code{"Wrong number of arguments"}@*
163 @xref{Classifying Lists}.
165 @item wrong-type-argument
166 @code{"Wrong type argument"}@*
167 @xref{Type Predicates}.
170 These error types, which are all classified as special cases of
171 @code{arith-error}, can occur on certain systems for invalid use of
172 mathematical functions.
176 @code{"Arithmetic domain error"}@*
177 @xref{Math Functions}.
180 @code{"Arithmetic overflow error"}@*
181 @xref{Math Functions}.
184 @code{"Arithmetic range error"}@*
185 @xref{Math Functions}.
187 @item singularity-error
188 @code{"Arithmetic singularity error"}@*
189 @xref{Math Functions}.
191 @item underflow-error
192 @code{"Arithmetic underflow error"}@*
193 @xref{Math Functions}.