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.100 x86.64 (2264, heads/master-8b61f72326, Apr 17 2024 04:25:24)