Validation errors.
Form.Tree.Tree (ErrorValue e)
Tree of errors.
type ErrorValue e
= Empty
| InvalidString
| InvalidEmail
| InvalidFormat
| InvalidInt
| InvalidFloat
| InvalidBool
| SmallerIntThan Basics.Int
| GreaterIntThan Basics.Int
| SmallerFloatThan Basics.Float
| GreaterFloatThan Basics.Float
| ShorterStringThan Basics.Int
| LongerStringThan Basics.Int
| NotIncludedIn
| CustomError e
A validation error. See Form.Validate.customError
for CustomError
building.
value : ErrorValue a -> Error a
Build a tree node (a leaf) for this error