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.101 x86.64 (2287, heads/master-f4b0c147f7, Dec 15 2024 19:35:07)