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

Prev:define-typed ( word def effect -- )
Next:output-mismatch-error ( value expected-type word expected-types -- * )


Vocabulary
typed

Inputs
worda word
expected-typesan array


Outputs
None

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

Definition


Methods