validex v0.6.0 Validex.Validator behaviour
Summary
Types
Callbacks
validate(rule_kind, attribute, rule_spec, value, options)
validate(rule_kind, attribute, rule_spec, value, options) :: [{:ok, attribute_path, atom} | {:error, attribute_path, error_name, error_message}]