Mercurial > emacs
annotate lispref/errors.texi @ 19860:c17fd465ea95 libc-970911 libc-970912 libc-970913 libc-970914 libc-970915 libc-970916 libc-970917 libc-970918 libc-970919 libc-970920 libc-970921 libc-970922 libc-970923 libc-970924 libc-970925 libc-970926 libc-970927 libc-970928 libc-970929 libc-970930 libc-971001 libc-971018 libc-971019 libc-971020 libc-971021 libc-971022 libc-971023 libc-971024 libc-971025 libc-971026 libc-971027 libc-971028 libc-971029 libc-971030 libc-971031 libc-971101 libc-971102 libc-971103 libc-971104 libc-971105 libc-971106 libc-971107 libc-971108 libc-971109 libc-971110 libc-971111 libc-971112 libc-971113 libc-971114 libc-971115 libc-971116 libc-971117 libc-971118 libc-971120 libc-971121 libc-971122 libc-971123 libc-971124 libc-971125 libc-971126 libc-971127 libc-971128 libc-971129 libc-971130 libc-971201 libc-971203 libc-971204 libc-971205 libc-971206 libc-971207 libc-971208 libc-971209 libc-971210 libc-971211 libc-971212 libc-971213 libc-971214 libc-971217 libc-971218 libc-971219 libc-971220 libc-971221 libc-971222 libc-971223 libc-971224 libc-971225 libc-971226 libc-971227 libc-971228 libc-971229 libc-971230 libc-971231 libc-980103 libc-980104 libc-980105 libc-980106 libc-980107 libc-980108 libc-980109 libc-980110 libc-980111 libc-980112 libc-980114 libc-980115 libc-980116 libc-980117 libc-980118 libc-980119 libc-980120 libc-980121 libc-980122 libc-980123 libc-980124 libc-980125 libc-980126 libc-980127 libc-980128
typos.
author | Jeff Law <law@redhat.com> |
---|---|
date | Wed, 10 Sep 1997 21:16:20 +0000 |
parents | 981e116b4ac6 |
children | 66d807bdc5b4 |
rev | line source |
---|---|
2899 | 1 @c -*-texinfo-*- |
2 @c This is part of the GNU Emacs Lisp Reference Manual. | |
3 @c Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc. | |
4 @c See the file elisp.texi for copying conditions. | |
5 @setfilename ../info/errors | |
6 @node Standard Errors, Standard Buffer-Local Variables, GNU Emacs Internals, Top | |
7 @appendix Standard Errors | |
8 | |
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 | |
7600 | 11 @code{error-message} property of the symbol) and a cross reference to a |
2899 | 12 description of how the error can occur. |
13 | |
7600 | 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 | |
2899 | 16 and the symbol @code{error}. Occasionally it includes additional |
7600 | 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}. | |
2899 | 20 |
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. | |
23 | |
24 @xref{Errors}, for an explanation of how errors are generated and | |
25 handled. | |
26 | |
27 @table @code | |
28 @item @var{symbol} | |
29 @var{string}; @var{reference}. | |
30 | |
31 @item error | |
32 @code{"error"}@* | |
33 @xref{Errors}. | |
34 | |
35 @item quit | |
36 @code{"Quit"}@* | |
37 @xref{Quitting}. | |
38 | |
39 @item args-out-of-range | |
40 @code{"Args out of range"}@* | |
41 @xref{Sequences Arrays Vectors}. | |
42 | |
43 @item arith-error | |
44 @code{"Arithmetic error"}@* | |
45 See @code{/} and @code{%} in @ref{Numbers}. | |
46 | |
47 @item beginning-of-buffer | |
48 @code{"Beginning of buffer"}@* | |
49 @xref{Motion}. | |
50 | |
51 @item buffer-read-only | |
52 @code{"Buffer is read-only"}@* | |
53 @xref{Read Only Buffers}. | |
54 | |
12098 | 55 @item cyclic-function-indirection |
16736
981e116b4ac6
Minor cleanups for overfull hboxes.
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
56 @code{"Symbol's chain of function indirections contains a@* |
981e116b4ac6
Minor cleanups for overfull hboxes.
Richard M. Stallman <rms@gnu.org>
parents:
12098
diff
changeset
|
57 loop"}@* |
12098 | 58 @xref{Function Indirection}. |
59 | |
2899 | 60 @item end-of-buffer |
61 @code{"End of buffer"}@* | |
62 @xref{Motion}. | |
63 | |
64 @item end-of-file | |
65 @code{"End of file during parsing"}@* | |
66 This is not a @code{file-error}.@* | |
67 @xref{Input Functions}. | |
68 | |
69 @item file-error | |
7600 | 70 This error and its subcategories do not have error-strings, because the |
71 error message is constructed from the data items alone when the error | |
72 condition @code{file-error} is present.@* | |
2899 | 73 @xref{Files}. |
74 | |
75 @item file-locked | |
76 This is a @code{file-error}.@* | |
77 @xref{File Locks}. | |
78 | |
79 @item file-already-exists | |
80 This is a @code{file-error}.@* | |
81 @xref{Writing to Files}. | |
82 | |
83 @item file-supersession | |
84 This is a @code{file-error}.@* | |
7600 | 85 @xref{Modification Time}. |
2899 | 86 |
87 @item invalid-function | |
88 @code{"Invalid function"}@* | |
89 @xref{Classifying Lists}. | |
90 | |
91 @item invalid-read-syntax | |
92 @code{"Invalid read syntax"}@* | |
93 @xref{Input Functions}. | |
94 | |
95 @item invalid-regexp | |
96 @code{"Invalid regexp"}@* | |
97 @xref{Regular Expressions}. | |
98 | |
99 @item no-catch | |
100 @code{"No catch for tag"}@* | |
101 @xref{Catch and Throw}. | |
102 | |
103 @item search-failed | |
104 @code{"Search failed"}@* | |
105 @xref{Searching and Matching}. | |
106 | |
107 @item setting-constant | |
108 @code{"Attempt to set a constant symbol"}@* | |
109 The values of the symbols @code{nil} and @code{t} | |
110 may not be changed.@* | |
111 @xref{Constant Variables, , Variables that Never Change}. | |
112 | |
12098 | 113 @item undefined-color |
114 @code{"Undefined color"}@* | |
115 @xref{Color Names}. | |
116 | |
2899 | 117 @item void-function |
118 @code{"Symbol's function definition is void"}@* | |
119 @xref{Function Cells}. | |
120 | |
121 @item void-variable | |
122 @code{"Symbol's value as variable is void"}@* | |
123 @xref{Accessing Variables}. | |
124 | |
125 @item wrong-number-of-arguments | |
126 @code{"Wrong number of arguments"}@* | |
127 @xref{Classifying Lists}. | |
128 | |
129 @item wrong-type-argument | |
130 @code{"Wrong type argument"}@* | |
131 @xref{Type Predicates}. | |
132 @end table | |
12098 | 133 |
134 These error types, which are all classified as special cases of | |
135 @code{arith-error}, can occur on certain systems for invalid use of | |
136 mathematical functions. | |
137 | |
138 @table @code | |
139 @item domain-error | |
140 @code{"Arithmetic domain error"}@* | |
141 @xref{Math Functions}. | |
142 | |
143 @item overflow-error | |
144 @code{"Arithmetic overflow error"}@* | |
145 @xref{Math Functions}. | |
146 | |
147 @item range-error | |
148 @code{"Arithmetic range error"}@* | |
149 @xref{Math Functions}. | |
150 | |
151 @item singularity-error | |
152 @code{"Arithmetic singularity error"}@* | |
153 @xref{Math Functions}. | |
154 | |
155 @item underflow-error | |
156 @code{"Arithmetic underflow error"}@* | |
157 @xref{Math Functions}. | |
158 @end table |