output-mismatch-error ( value expected-type word expected-types -- * )
Strongly-typed word definitions

Prev:input-mismatch-error ( value expected-type word expected-types -- * )


Vocabulary
typed

Inputs and outputs
worda word
expected-typesan array


Class description
Errors of this class are raised at runtime by TYPED: words when they attempt to output values that do not match their type annotations. The word slot indicates the word that failed, and the expected-types slot specifies the output types expected.

Definition


Methods