It would be useful to allow some rules to leverage more than a single message based on its failure.
In the case of AllowedCharacterRule and IllegalCharacterRule it's natural to want a different message based on whitespace.
It can also be hard to construct a single message for all character types.
It would be useful to allow some rules to leverage more than a single message based on its failure.
In the case of
AllowedCharacterRuleandIllegalCharacterRuleit's natural to want a different message based on whitespace.It can also be hard to construct a single message for all character types.