This vocabulary defines automatic descriptive errors. Using it, you can define a word which acts as normal, except when it throws an error, the error is wrapped in an instance of a class:
descriptive-error ( args underlying word -- * )
The wrapper contains the word itself, the input parameters, as well as the original error.
To annotate an existing word with descriptive error checking:
make-descriptive ( word -- )
To define words which throw descriptive errors, use the following words:
DESCRIPTIVE:
DESCRIPTIVE::
This documentation was generated offline from a
load-all image. If you want, you can also
browse the documentation from within the UI developer tools . See
the Factor website
for more information.
Factor 0.102 x86.64 (2297, heads/master-034f5e82b2, Dec 11 2025 08:38:40)