aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref/errors.texi
diff options
context:
space:
mode:
authorJoakim Verona2012-03-06 09:23:09 +0100
committerJoakim Verona2012-03-06 09:23:09 +0100
commit28485daaf752ff5264ed2f6a32ec15588beaa929 (patch)
treea480205aa664c61b1d212833144c0a2d44f7ac01 /doc/lispref/errors.texi
parente8e42079e76ca6255bbd53312994ba8e1b3b0ee8 (diff)
parent2e86d8576c668e149cc100f3222bcf19b38019dc (diff)
downloademacs-28485daaf752ff5264ed2f6a32ec15588beaa929.tar.gz
emacs-28485daaf752ff5264ed2f6a32ec15588beaa929.zip
upstream
Diffstat (limited to 'doc/lispref/errors.texi')
-rw-r--r--doc/lispref/errors.texi35
1 files changed, 31 insertions, 4 deletions
diff --git a/doc/lispref/errors.texi b/doc/lispref/errors.texi
index fcf4ec24af7..76ab8b235f5 100644
--- a/doc/lispref/errors.texi
+++ b/doc/lispref/errors.texi
@@ -3,11 +3,11 @@
3@c Copyright (C) 1990-1993, 1999, 2001-2012 Free Software Foundation, Inc. 3@c Copyright (C) 1990-1993, 1999, 2001-2012 Free Software Foundation, Inc.
4@c See the file elisp.texi for copying conditions. 4@c See the file elisp.texi for copying conditions.
5@setfilename ../../info/errors 5@setfilename ../../info/errors
6@node Standard Errors, Standard Buffer-Local Variables, GNU Emacs Internals, Top 6@node Standard Errors, Standard Keymaps, GNU Emacs Internals, Top
7@appendix Standard Errors 7@appendix Standard Errors
8@cindex standard errors 8@cindex standard errors
9 9
10 Here is the complete list of the error symbols in standard Emacs, 10 Here is a list of the more important error symbols in standard Emacs,
11grouped by concept. The list includes each symbol's message (on the 11grouped by concept. The list includes each symbol's message (on the
12@code{error-message} property of the symbol) and a cross reference to a 12@code{error-message} property of the symbol) and a cross reference to a
13description of how the error can occur. 13description of how the error can occur.
@@ -24,6 +24,15 @@ conditions, that means it has none.
24 As a special exception, the error symbol @code{quit} does not have the 24 As a special exception, the error symbol @code{quit} does not have the
25condition @code{error}, because quitting is not considered an error. 25condition @code{error}, because quitting is not considered an error.
26 26
27@c You can grep for "(put 'foo 'error-conditions ...) to find
28@c examples defined in Lisp. Eg soap-client.el, sasl.el.
29 Most of these error symbols are defined in C (mainly @file{data.c}),
30but some are defined in Lisp. For example, the file @file{userlock.el}
31defines the @code{file-locked} and @code{file-supersession} errors.
32Several of the specialized Lisp libraries distributed with Emacs
33define their own error symbols. We do not attempt to list of all
34those here.
35
27 @xref{Errors}, for an explanation of how errors are generated and 36 @xref{Errors}, for an explanation of how errors are generated and
28handled. 37handled.
29 38
@@ -54,10 +63,16 @@ sequence or buffer.@*
54@code{"Buffer is read-only"}@* 63@code{"Buffer is read-only"}@*
55@xref{Read Only Buffers}. 64@xref{Read Only Buffers}.
56 65
57@ignore
58@item circular-list 66@item circular-list
59@code{"List contains a loop"}@* 67@code{"List contains a loop"}@*
60@end ignore 68This happens when some operations (e.g. resolving face names)
69encounter circular structures.@*
70@xref{Circular Objects}.
71
72@item cl-assertion-failed
73@code{"Assertion failed"}@*
74This happens when the @code{assert} macro fails a test.@*
75@xref{Assertions,,, cl, Common Lisp Extensions}.
61 76
62@item coding-system-error 77@item coding-system-error
63@code{"Invalid coding system"}@* 78@code{"Invalid coding system"}@*
@@ -105,14 +120,23 @@ do have @code{error-message} properties, and if no data is provided,
105the @code{error-message} property @emph{is} used.@* 120the @code{error-message} property @emph{is} used.@*
106@xref{Files}. 121@xref{Files}.
107 122
123@c jka-compr.el
124@item compression-error
125This is a subcategory of @code{file-error}, which results from
126problems handling a compressed file.@*
127@xref{How Programs Do Loading}.
128
129@c userlock.el
108@item file-locked 130@item file-locked
109This is a subcategory of @code{file-error}.@* 131This is a subcategory of @code{file-error}.@*
110@xref{File Locks}. 132@xref{File Locks}.
111 133
134@c userlock.el
112@item file-supersession 135@item file-supersession
113This is a subcategory of @code{file-error}.@* 136This is a subcategory of @code{file-error}.@*
114@xref{Modification Time}. 137@xref{Modification Time}.
115 138
139@c net/ange-ftp.el
116@item ftp-error 140@item ftp-error
117This is a subcategory of @code{file-error}, which results from problems 141This is a subcategory of @code{file-error}, which results from problems
118in accessing a remote file using ftp.@* 142in accessing a remote file using ftp.@*
@@ -130,6 +154,7 @@ in accessing a remote file using ftp.@*
130@code{"Invalid regexp"}@* 154@code{"Invalid regexp"}@*
131@xref{Regular Expressions}. 155@xref{Regular Expressions}.
132 156
157@c simple.el
133@item mark-inactive 158@item mark-inactive
134@code{"The mark is not active now"}@* 159@code{"The mark is not active now"}@*
135@xref{The Mark}. 160@xref{The Mark}.
@@ -139,6 +164,7 @@ in accessing a remote file using ftp.@*
139@xref{Catch and Throw}. 164@xref{Catch and Throw}.
140 165
141@ignore 166@ignore
167@c Not actually used for anything? Probably definition should be removed.
142@item protected-field 168@item protected-field
143@code{"Attempt to modify a protected field"} 169@code{"Attempt to modify a protected field"}
144@end ignore 170@end ignore
@@ -160,6 +186,7 @@ and any symbols that start with @samp{:},
160may not be changed.@* 186may not be changed.@*
161@xref{Constant Variables, , Variables that Never Change}. 187@xref{Constant Variables, , Variables that Never Change}.
162 188
189@c simple.el
163@item text-read-only 190@item text-read-only
164@code{"Text is read-only"}@* 191@code{"Text is read-only"}@*
165This is a subcategory of @code{buffer-read-only}.@* 192This is a subcategory of @code{buffer-read-only}.@*