validateErased

Validates one modifier description through its typed local hook.

The runtime invokes this function while validating the complete incoming tree and before retained mutation.

Parameters

element

the description to validate.

Throws

when the token or description type is wrong.

when the local validation hook fails.