diff options
Diffstat (limited to 'doc/lispref/errors.texi')
| -rw-r--r-- | doc/lispref/errors.texi | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/doc/lispref/errors.texi b/doc/lispref/errors.texi index 87cfcfa532c..8a10fbf0c47 100644 --- a/doc/lispref/errors.texi +++ b/doc/lispref/errors.texi | |||
| @@ -7,12 +7,11 @@ | |||
| 7 | @appendix Standard Errors | 7 | @appendix Standard Errors |
| 8 | @cindex standard errors | 8 | @cindex standard errors |
| 9 | 9 | ||
| 10 | Here is a list of the more important error symbols in standard Emacs, | 10 | Here is a list of the more important error symbols in standard Emacs, grouped |
| 11 | grouped by concept. The list includes each symbol's message (on the | 11 | by concept. The list includes each symbol's message and a cross reference |
| 12 | @code{error-message} property of the symbol) and a cross reference to a | 12 | to a description of how the error can occur. |
| 13 | description of how the error can occur. | ||
| 14 | 13 | ||
| 15 | Each error symbol has an @code{error-conditions} property that is a | 14 | Each error symbol has an set of parent error conditions that is a |
| 16 | list of symbols. Normally this list includes the error symbol itself | 15 | list of symbols. Normally this list includes the error symbol itself |
| 17 | and the symbol @code{error}. Occasionally it includes additional | 16 | and the symbol @code{error}. Occasionally it includes additional |
| 18 | symbols, which are intermediate classifications, narrower than | 17 | symbols, which are intermediate classifications, narrower than |
| @@ -24,8 +23,6 @@ conditions, that means it has none. | |||
| 24 | As a special exception, the error symbol @code{quit} does not have the | 23 | As a special exception, the error symbol @code{quit} does not have the |
| 25 | condition @code{error}, because quitting is not considered an error. | 24 | condition @code{error}, because quitting is not considered an error. |
| 26 | 25 | ||
| 27 | @c You can grep for "(put 'foo 'error-conditions ...) to find | ||
| 28 | @c examples defined in Lisp. E.g., soap-client.el, sasl.el. | ||
| 29 | Most of these error symbols are defined in C (mainly @file{data.c}), | 26 | Most of these error symbols are defined in C (mainly @file{data.c}), |
| 30 | but some are defined in Lisp. For example, the file @file{userlock.el} | 27 | but some are defined in Lisp. For example, the file @file{userlock.el} |
| 31 | defines the @code{file-locked} and @code{file-supersession} errors. | 28 | defines the @code{file-locked} and @code{file-supersession} errors. |