descriptive-error ( args underlying word -- * ) - Factor Documentation
Handbook
Glossary
descriptive-error ( args underlying word -- * )
Descriptive errors
Next:
make-descriptive ( word -- )
Vocabulary
descriptive
Error description
The class of errors wrapping another error (in the underlying slot) which were thrown in a word (in the word slot) with a given set of arguments (in the args slot).
Definition
IN:
descriptive
ERROR:
descriptive-error
args underlying word
;
Methods
USING:
accessors
debugger
descriptive
io
kernel
prettyprint
;
M:
descriptive-error
error.
"The word "
write
dup
word>>
pprint
" encountered an error."
print
"Arguments:"
print
dup
args>>
stack.
"Error:"
print
underlying>>
error.
;
AltStyle
によって変換されたページ
(->オリジナル)
/
アドレス:
モード:
デフォルト
音声ブラウザ
ルビ付き
配色反転
文字拡大
モバイル