Builder for collecting validation errors
Key features:
Whether the builder has any errors
Add an error for a key
Key to invalidate
Error message or Error object
Multiple reasons can be added for the same key.
Invalidate the target object itself
This is useful with @nested.hoist to invalidate the parent object.
@nested.hoist
Builder for collecting validation errors
Key features: