Descriptive errors

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: