mlhaufe / brevity

Brevity is a library that enables Feature-Oriented Programming (FOP) and solves the expression problem in a manner that makes data and operation declarations trivial to define and compose.
GNU Affero General Public License v3.0
1 stars 0 forks source link

missing trait gives a poor error #24

Closed mlhaufe closed 1 year ago

mlhaufe commented 1 year ago
TypeError: no trait defined for [all]

When a bad data variant is passed to a trait call, show the name of the trait instead of [all]