- 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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordThe arity is not even, so the vec cannot be a trait.static final recordThe elem specified by the index is not a str.