validateErased

Validates one description through this token's typed local-property hook.

The runtime invokes this function before mutating retained state and propagates validation failures unchanged.

Parameters

element

the description to validate.

Throws

when the description is not owned by this token or has the wrong class.

when the local validation hook fails.