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

C. 標準のエラー

以下は、概念ごとにまとめた標準Emacsのエラーシンボルの完全な一覧です。 一覧には、各シンボルの(シンボルの属性error-messageにある)メッセージと そのようなエラーが生起する場面の記述への相互参照を示しました。

各エラーシンボルには、属性error-conditionsがあり、 これはシンボルのリストです。 通常、このリストは、エラーシンボルそのものとシンボルerrorを含みます。 しばしば、追加のシンボルも含みます。 それらは中間的な分類種別であり、errorより細分化したものですが、 エラーシンボルそのものよりは大分類です。 たとえば、ファイル参照に関するすべてのエラーには、 条件file-errorが入っています。 以下で、特定のエラーシンボルにおいて追加のシンボルを言及していないときには、 そのエラーには追加シンボルがないことを意味します。

特別な例外ですが、エラーシンボルquitには 条件errorがありません。 これは、中断(quit)をエラーとみなさないからです。

エラーが生起する場面とその処理方法については、See section 9.5.3 エラー

シンボル
文字列; 参照

error
"error"
see section 9.5.3 エラー

quit
"Quit"
see section 20.9 中断

args-out-of-range
"Args out of range"
see section 6. シーケンス、配列、ベクトル

arith-error
"Arithmetic error"
3. 数/%を参照。

beginning-of-buffer
"Beginning of buffer"
see section 29.2 移動

buffer-read-only
"Buffer is read-only"
see section 26.7 読み出し専用バッファ

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

see section 8.2.4 シンボルの関数間接

end-of-buffer
"End of buffer"
see section 29.2 移動

end-of-file
"End of file during parsing"
これはファイル入出力ではなくLispリーダに関連することなので、 file-errorではないことに注意。
see section 18.3 入力関数

file-already-exists
これはfile-error
see section 24.4 ファイルへの書き出し

file-date-error
これはfile-errorの小分類。 copy-fileで、 出力ファイルの最終更新日付の設定に失敗すると生起する。
see section 24.7 ファイルの名前と属性の変更

file-error
このエラーとその小分類にはエラー文字列がない。 エラー条件file-errorがあると、 データ項目のみからエラーメッセージを作るからである。
see section 24. ファイル

file-locked
これはfile-error
see section 24.5 ファイルロック

file-supersession
これはfile-error
see section 26.6 更新時刻の比較

invalid-function
"Invalid function"
see section 8.2.3 リストフォームの分類

invalid-read-syntax
"Invalid read syntax"
see section 18.3 入力関数

invalid-regexp
"Invalid regexp"
see section 33.2 正規表現

mark-inactive
"Mark inactive"
see section 30.7 マーク

no-catch
"No catch for tag"
see section 9.5.1 明示的な非ローカル脱出: catchthrow

scan-error
"Scan error"
これは、構文解析関数が不正な構文や対応していない括弧を みつけると生起する。
29.2.6 式単位の移動、および、see section 34.6 釣り合った式の解析

search-failed
"Search failed"
see section 33. 探索と一致

setting-constant
"Attempt to set a constant symbol"
シンボルnilt、および、 `:'で始まる任意のシンボルは変更できない。
see section Variables that Never Change

undefined-color
"Undefined color"
see section 28.21 表示色名

void-function
"Symbol's function definition is void"
see section 11.8 関数セルの内容の参照

void-variable
"Symbol's value as variable is void"
see section 10.7 変数値の参照

wrong-number-of-arguments
"Wrong number of arguments"
see section 8.2.3 リストフォームの分類

wrong-type-argument
"Wrong type argument"
see section 2.5 型述語

arith-errorの特別な場合に分類された以下の種類のエラーは、 数学関数を不正に使ったときに特定のシステムで生起します。

domain-error
"Arithmetic domain error"
see section 3.9 標準数学関数

overflow-error
"Arithmetic overflow error"
see section 3.9 標準数学関数

range-error
"Arithmetic range error"
see section 3.9 標準数学関数

singularity-error
"Arithmetic singularity error"
see section 3.9 標準数学関数

underflow-error
"Arithmetic underflow error"
see section 3.9 標準数学関数

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

This document was generated by Akihiro Sagawa on January, 21 2003 using texi2html