Handbook
Glossary
DESCRIPTIVE::
Descriptive errors
Prev:
DESCRIPTIVE:
Vocabulary
descriptive
Syntax
DESCRIPTIVE:: word ( inputs -- outputs ) definition ;
Word description
Defines a word which uses locals such that, if an error is thrown from within it, that error is wrapped in a
descriptive-error
with the arguments to that word.
Definition
USING:
locals.parser
;
IN:
descriptive
SYNTAX:
DESCRIPTIVE::
(::)
define-descriptive
;