[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

F. Standard Errors

Here is the complete list of the error symbols in standard Emacs, grouped by concept. The list includes each symbol's message (on the error-message property of the symbol) and a cross reference to a description of how the error can occur.

Each error symbol has an error-conditions property that is a list of symbols. Normally this list includes the error symbol itself and the symbol error. Occasionally it includes additional symbols, which are intermediate classifications, narrower than error but broader than a single error symbol. For example, all the errors in accessing files have the condition file-error. If we do not say here that a certain error symbol has additional error conditions, that means it has none.

As a special exception, the error symbol quit does not have the condition error, because quitting is not considered an error.

See section 10.5.3 Errors, for an explanation of how errors are generated and handled.

symbol
string; reference.

error
"error"
See section 10.5.3 Errors.

quit
"Quit"
See section 21.10 Quitting.

args-out-of-range
"Args out of range"
See section 6. Sequences, Arrays, and Vectors.

arith-error
"Arithmetic error"
See / and % in 3. Numbers.

beginning-of-buffer
"Beginning of buffer"
See section 30.2 Motion.

buffer-read-only
"Buffer is read-only"
See section 27.7 Read-Only Buffers.

coding-system-error
"Invalid coding system"
See section 33.10 Coding Systems.

cyclic-function-indirection
"Symbol's chain of function indirections\
contains a loop"

See section 9.2.4 Symbol Function Indirection.

end-of-buffer
"End of buffer"
See section 30.2 Motion.

end-of-file
"End of file during parsing"
Note that this is not a subcategory of file-error, because it pertains to the Lisp reader, not to file I/O. See section 19.3 Input Functions.

file-already-exists
This is a subcategory of file-error.
See section 25.4 Writing to Files.

file-date-error
This is a subcategory of file-error. It occurs when copy-file tries and fails to set the last-modification time of the output file. See section 25.7 Changing File Names and Attributes.

file-error
This error and its subcategories do not have error-strings, because the error message is constructed from the data items alone when the error condition file-error is present.
See section 25. Files.

file-locked
This is a subcategory of file-error.
See section 25.5 File Locks.

file-supersession
This is a subcategory of file-error.
See section 27.6 Comparison of Modification Time.

ftp-error
This is a subcategory of file-error, which results from problems in accessing a remote file using ftp.
See section `Remote Files' in The GNU Emacs Manual.

invalid-function
"Invalid function"
See section 9.2.3 Classification of List Forms.

invalid-read-syntax
"Invalid read syntax"
See section 19.3 Input Functions.

invalid-regexp
"Invalid regexp"
See section 34.2 Regular Expressions.

mark-inactive
"Mark inactive"
See section 31.7 The Mark.

no-catch
"No catch for tag"
See section 10.5.1 Explicit Nonlocal Exits: catch and throw.

scan-error
"Scan error"
This happens when certain syntax-parsing functions find invalid syntax or mismatched parentheses.
See section 30.2.6 Moving over Balanced Expressions, and 35.6 Parsing Balanced Expressions.

search-failed
"Search failed"
See section 34. Searching and Matching.

setting-constant
"Attempt to set a constant symbol"
The values of the symbols nil and t, and any symbols that start with `:', may not be changed.
See section Variables that Never Change.

text-read-only
"Text is read-only"
See section 32.19.4 Properties with Special Meanings.

undefined-color
"Undefined color"
See section 29.19 Color Names.

void-function
"Symbol's function definition is void"
See section 12.8 Accessing Function Cell Contents.

void-variable
"Symbol's value as variable is void"
See section 11.7 Accessing Variable Values.

wrong-number-of-arguments
"Wrong number of arguments"
See section 9.2.3 Classification of List Forms.

wrong-type-argument
"Wrong type argument"
See section 2.6 Type Predicates.

These kinds of error, which are classified as special cases of arith-error, can occur on certain systems for invalid use of mathematical functions.

domain-error
"Arithmetic domain error"
See section 3.9 Standard Mathematical Functions.

overflow-error
"Arithmetic overflow error"
See section 3.9 Standard Mathematical Functions.

range-error
"Arithmetic range error"
See section 3.9 Standard Mathematical Functions.

singularity-error
"Arithmetic singularity error"
See section 3.9 Standard Mathematical Functions.

underflow-error
"Arithmetic underflow error"
See section 3.9 Standard Mathematical Functions.

[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated on May 2, 2002 using texi2html