niho / json-schema-form / Json.Schema.Form.Error

Validation errors.


type ErrorValue
    = Invalid
    | InvalidSet
    | ShorterListThan Basics.Int
    | LongerListThan Basics.Int
    | InvalidCustomFormat String

A validation error. See etaque/elm-form for more error types.


type alias Errors =
String -> Form.Error.ErrorValue ErrorValue -> String

A function that converts a field path and an ErrorValue into a user readable string.