- All Superinterfaces:
MaybeTrait
- All Known Implementing Classes:
TraitError.ArityNotEven
,TraitError.SymNotStr
public sealed interface TraitError
extends MaybeTrait
permits TraitError.ArityNotEven, TraitError.SymNotStr
Error that the vec cannot be treated as a trait.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final record
The arity is not even, so the vec cannot be a trait.static final record
The elem specified by the index is not a str.