Next: Standard Keymaps, Previous: GNU Emacs Internals, Up: Top
Here is a list of the more important error symbols in standard Emacs, grouped by concept. The list includes each symbol's message and a cross reference to a description of how the error can occur.
Each error symbol has a set of parent error conditions 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.
Most of these error symbols are defined in C (mainly data.c),
but some are defined in Lisp. For example, the file userlock.el
defines the file-locked and file-supersession errors.
Several of the specialized Lisp libraries distributed with Emacs
define their own error symbols. We do not attempt to list of all
those here.
See Errors, for an explanation of how errors are generated and handled.
errorquitargs-out-of-rangearith-errorbeginning-of-bufferbuffer-read-onlycircular-listcl-assertion-failedcl-assert macro fails a test. See Assertions.
coding-system-errorcyclic-function-indirectioncyclic-variable-indirectiondbus-errorend-of-bufferend-of-filefile-error, because it pertains to the
Lisp reader, not to file I/O. See Input Functions.
file-already-existsfile-error. See Writing to Files.
file-date-errorfile-error. It occurs when
copy-file tries and fails to set the last-modification time of
the output file. See Changing Files.
file-errorfile-error is present. Thus,
the error-strings are not very relevant. However, these error symbols
do have error-message properties, and if no data is provided,
the error-message property is used. See Files.
file-missingfile-error. It occurs when an
operation attempts to act on a file that is missing. See Changing Files.
compression-errorfile-error, which results from
problems handling a compressed file. See How Programs Do Loading.
file-lockedfile-error. See File Locks.
file-supersessionfile-error. See Modification Time.
file-notify-errorfile-error. It happens, when a file
could not be watched for changes. See File Notifications.
ftp-errorfile-error, which results from
problems in accessing a remote file using ftp. See Remote Files.
invalid-functioninvalid-read-syntaxinvalid-regexpmark-inactiveno-catchscan-errorsearch-failedsetting-constantnil, t,
most-positive-fixnum, most-negative-fixnum, and keyword
symbols. It also happens when attempting to assign values to
enable-multibyte-characters and some other symbols whose direct
assignment is not allowed for some reason. See Constant Variables.
text-read-onlybuffer-read-only. See Special Properties.
undefined-coloruser-erroruser-search-failedvoid-functionvoid-variablewrong-number-of-argumentswrong-type-argument