Search    TOC: Show / Hide

   Indexes: Functions / Variables / Commands / Forms / Options / Macros / Keywords / Misc

   Next: Buffer-Local Variables   Previous: GNU Emacs Internals   

44. 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 Errors, for an explanation of how errors are generated and handled.

topsymbol
string; reference.
toperror
"error"
See section Errors.
topquit
"Quit"
See section Quitting.
topargs-out-of-range
"Args out of range"
See section Sequences, Arrays, and Vectors.
toparith-error
"Arithmetic error"
See / and % in section Numbers.
topbeginning-of-buffer
"Beginning of buffer"
See section Motion.
topbuffer-read-only
"Buffer is read-only"
See section Read-Only Buffers.
topcyclic-function-indirection
"Symbol's chain of function indirections\
contains a loop"

See section Symbol Function Indirection.
topend-of-buffer
"End of buffer"
See section Motion.
topend-of-file
"End of file during parsing"
Note that this is not a file-error because it pertains to the Lisp reader, not to file I/O. See section Input Functions.
topfile-already-exists
This is a file-error.
See section Writing to Files.
topfile-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 Changing File Names and Attributes.
topfile-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 Files.
topfile-locked
This is a file-error.
See section File Locks.
topfile-supersession
This is a file-error.
See section Comparison of Modification Time.
topinvalid-function
"Invalid function"
See section Classification of List Forms.
topinvalid-read-syntax
"Invalid read syntax"
See section Input Functions.
topinvalid-regexp
"Invalid regexp"
See section Regular Expressions.
topmark-inactive
"Mark inactive"
See section The Mark.
topno-catch
"No catch for tag"
See section Explicit Nonlocal Exits: catch and throw.
topscan-error
"Scan error"
This happens when certain syntax-parsing functions find invalid syntax or mismatched parentheses.
See section Moving over Balanced Expressions, and section Parsing Balanced Expressions.
topsearch-failed
"Search failed"
See section Searching and Matching.
topsetting-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.
topundefined-color
"Undefined color"
See section Color Names.
topvoid-function
"Symbol's function definition is void"
See section Accessing Function Cell Contents.
topvoid-variable
"Symbol's value as variable is void"
See section Accessing Variable Values.
topwrong-number-of-arguments
"Wrong number of arguments"
See section Classification of List Forms.
topwrong-type-argument
"Wrong type argument"
See section 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.

topdomain-error
"Arithmetic domain error"
See section Standard Mathematical Functions.
topoverflow-error
"Arithmetic overflow error"
See section Standard Mathematical Functions.
toprange-error
"Arithmetic range error"
See section Standard Mathematical Functions.
topsingularity-error
"Arithmetic singularity error"
See section Standard Mathematical Functions.
topunderflow-error
"Arithmetic underflow error"
See section Standard Mathematical Functions.



   Search    TOC: Show / Hide

   Indexes: Functions / Variables / Commands / Forms / Options / Macros / Keywords / Misc

   Next: Buffer-Local Variables   Previous: GNU Emacs Internals