2 @c This is part of the SXEmacs Lisp Reference Manual.
3 @c Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
4 @c Copyright (C) 2005 Sebastian Freundt <hroptatyr@sxemacs.org>
5 @c See the file lispref.texi for copying conditions.
6 @setfilename ../../info/errors.info
8 @node Standard Errors, Standard Buffer-Local Variables, Building SXEmacs and Object Allocation, Top
9 @appendix Standard Errors
11 Here is the complete list of the error symbols in standard Emacs,
12 grouped by concept. The list includes each symbol's message (on the
13 @code{error-message} property of the symbol) and a cross reference to a
14 description of how the error can occur.
16 Each error symbol has an @code{error-conditions} property that is a
17 list of symbols. Normally this list includes the error symbol itself
18 and the symbol @code{error}. Occasionally it includes additional
19 symbols, which are intermediate classifications, narrower than
20 @code{error} but broader than a single error symbol. For example, all
21 the errors in accessing files have the condition @code{file-error}.
23 As a special exception, the error symbol @code{quit} does not have the
24 condition @code{error}, because quitting is not considered an error.
26 @xref{Errors}, for an explanation of how errors are generated and
31 @var{string}; @var{reference}.
41 @item args-out-of-range
42 @code{"Args out of range"}@*
43 @xref{Sequences Arrays Vectors}.
46 @code{"Arithmetic error"}@*
47 See @code{/} and @code{%} in @ref{Numbers}.
49 @item beginning-of-buffer
50 @code{"Beginning of buffer"}@*
53 @item buffer-read-only
54 @code{"Buffer is read-only"}@*
55 @xref{Read Only Buffers}.
57 @item cyclic-function-indirection
58 @code{"Symbol's chain of function indirections contains a loop"}@*
59 @xref{Function Indirection}.
63 @code{"Arithmetic domain error"}@*
66 @code{"End of buffer"}@*
70 @code{"End of file during parsing"}@*
71 This is not a @code{file-error}.@*
72 @xref{Input Functions}.
75 This error and its subcategories do not have error-strings, because the
76 error message is constructed from the data items alone when the error
77 condition @code{file-error} is present.@*
81 This is a @code{file-error}.@*
84 @item file-already-exists
85 This is a @code{file-error}.@*
86 @xref{Writing to Files}.
88 @item file-supersession
89 This is a @code{file-error}.@*
90 @xref{Modification Time}.
92 @item invalid-byte-code
93 @code{"Invalid byte code"}@*
94 @xref{Byte Compilation}.
96 @item invalid-function
97 @code{"Invalid function"}@*
98 @xref{Classifying Lists}.
100 @item invalid-read-syntax
101 @code{"Invalid read syntax"}@*
102 @xref{Input Functions}.
105 @code{"Invalid regexp"}@*
106 @xref{Regular Expressions}.
110 @code{"The mark is not active now"}@*
113 @code{"No catch for tag"}@*
114 @xref{Catch and Throw}.
118 @code{"Arithmetic overflow error"}@*
121 @item protected-field
122 @code{"Attempt to modify a protected field"}@*
126 @code{"Arithmetic range error"}@*
129 @code{"Search failed"}@*
130 @xref{Searching and Matching}.
132 @item setting-constant
133 @code{"Attempt to set a constant symbol"}@*
134 @xref{Constant Variables, , Variables that Never Change}.
137 @item singularity-error
138 @code{"Arithmetic singularity error"}@*
142 @code{"ToolTalk error"}@*
143 @xref{ToolTalk Support}.
146 @item undefined-keystroke-sequence
147 @code{"Undefined keystroke sequence"}@*
149 @ignore FSF Emacs only
150 @item undefined-color
151 @code{"Undefined color"}@*
156 @code{"Symbol's function definition is void"}@*
157 @xref{Function Cells}.
160 @code{"Symbol's value as variable is void"}@*
161 @xref{Accessing Variables}.
163 @item wrong-number-of-arguments
164 @code{"Wrong number of arguments"}@*
165 @xref{Classifying Lists}.
167 @item wrong-type-argument
168 @code{"Wrong type argument"}@*
169 @xref{Type Predicates}.
172 These error types, which are all classified as special cases of
173 @code{arith-error}, can occur on certain systems for invalid use of
174 mathematical functions.
178 @code{"Arithmetic domain error"}@*
179 @xref{Math Functions}.
182 @code{"Arithmetic overflow error"}@*
183 @xref{Math Functions}.
186 @code{"Arithmetic range error"}@*
187 @xref{Math Functions}.
189 @item singularity-error
190 @code{"Arithmetic singularity error"}@*
191 @xref{Math Functions}.
193 @item underflow-error
194 @code{"Arithmetic underflow error"}@*
195 @xref{Math Functions}.