Iron v1.1
Introduction
This release is a continuation of Iron v1.0 improving error handling and global ecosystem.
Features
Better error handling
- Add
IllegalValueError.Field
, a field-based IllegalValueError. - Errors now have a message instead of a constraint instance.
- Each constraint must have a description by overriding
Constraint#getMessage
- You can attach a custom description to an existing constraint using
DescribedAs[B, V]
. See the wiki - Accumulative Error Handling via Cats. See the Extra Modules section below.
Extra Modules
Fixes
- Alphanumeric now matches upper-cased characters
Example
An example project is now available. Further details in future articles.