kutyel/elm-form/1.0.0

Renamed to scrive/elm-form. It is published under that name, and new versions come out there.

Versions published as kutyel/elm-form still install under that name. 1 version of 1 come from the new location (see their notes).

Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/scrive/elm-form.

What we checked: The repo moved to github.com/scrive/elm-form. Rebuilt with git archive from commit 36826458dd77 of https://github.com/scrive/elm-form (zip prefix kutyel-elm-form-3682645/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 fb9d51c1d4d0daaf65a2aa4c5e28dfbf14ccaceb.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/kutyel/elm-form/zipball/1.0.0/

Form.Error

Validation errors.

type alias Error e =
Tree (ErrorValue e)

Tree of errors.

type ErrorValue e
= Empty
| InvalidString
| InvalidEmail
| InvalidFormat
| InvalidInt
| InvalidFloat
| InvalidBool
| SmallerIntThan Int
| GreaterIntThan Int
| SmallerFloatThan Float
| GreaterFloatThan Float
| ShorterStringThan Int
| LongerStringThan 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