Handbook
Glossary
incorrect-type-in-enum-value ( expected-type value word -- * )
Vocabulary
classes
.
enumeration
Inputs
expected-type
an
object
value
an
object
word
a
word
Outputs
None
Word description
Throws an
incorrect-type-in-enum-value
error.
Error description
Thrown when one element of an enum isn't of the enum's base type. For example, if the enum extends
fixnum
but the value is of type
string
Definition
IN:
classes.enumeration
ERROR:
incorrect-type-in-enum-value
expected-type value word
;