Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
and keyed_validation_errors = string * validation_error list
and index_validation_error = int * validation_error list
and validation_error =
| BaseError of base_validation_error
| KeyedError of keyed_validation_errors list
| IterableError of index_validation_error list
| GroupError of validation_error list
val pp_base_validation_error :
Ppx_deriving_runtime.Format.formatter ->
base_validation_error ->
Ppx_deriving_runtime.unit
val show_base_validation_error :
base_validation_error ->
Ppx_deriving_runtime.string
val pp_keyed_validation_errors :
Ppx_deriving_runtime.Format.formatter ->
keyed_validation_errors ->
Ppx_deriving_runtime.unit
val show_keyed_validation_errors :
keyed_validation_errors ->
Ppx_deriving_runtime.string
val pp_index_validation_error :
Ppx_deriving_runtime.Format.formatter ->
index_validation_error ->
Ppx_deriving_runtime.unit
val show_index_validation_error :
index_validation_error ->
Ppx_deriving_runtime.string
val pp_validation_error :
Ppx_deriving_runtime.Format.formatter ->
validation_error ->
Ppx_deriving_runtime.unit
val show_validation_error : validation_error -> Ppx_deriving_runtime.string
val equal_base_validation_error :
base_validation_error ->
base_validation_error ->
Ppx_deriving_runtime.bool
val equal_keyed_validation_errors :
keyed_validation_errors ->
keyed_validation_errors ->
Ppx_deriving_runtime.bool
val equal_index_validation_error :
index_validation_error ->
index_validation_error ->
Ppx_deriving_runtime.bool
val equal_validation_error :
validation_error ->
validation_error ->
Ppx_deriving_runtime.bool
val validate :
'a validator ->
'a ->
('a, Validate__.Err.validation_error) Stdlib.result
val field :
string ->
('a, 'b) field_extractor ->
'b validator list ->
'a ->
(unit, string * Validate__.Err.validation_error list) Stdlib.result
val keyed :
'a keyed_validator list ->
'a ->
(unit, Validate__.Err.validation_error) Stdlib.result
val named_value :
string ->
('a, 'b) named_value_extractor ->
'b validator list ->
'a ->
(unit, string * Validate__.Err.validation_error list) Stdlib.result
val iterable_item :
int ->
'a validator list ->
'a ->
(unit, int * Validate__.Err.validation_error list) Stdlib.result
val list :
'a validator list ->
'a list ->
(unit, Validate__.Err.validation_error) Stdlib.result
val group :
'a validator list ->
'a ->
(unit, Validate__.Err.validation_error) Stdlib.result
val uuid_regex : Re.re
val ulid_regex : Re.re
val ipv4_regex : Re.re
val ipv6_regex : Re.re
val mac_address_regex : Re.re
val phone_number_regex : Re.re
val numeric_regex : Re.re
val alpha_regex : Re.re
val alphanumeric_regex : Re.re
val lowercase_regex : Re.re
val uppercase_regex : Re.re
val lowercase_alphanumeric_regex : Re.re
val uppercase_alphanumeric_regex : Re.re
val email_regex : Re.re
val _validate_regex :
string ->
Re.re ->
string ->
(unit, Validate__.Err.validation_error) Stdlib.result
val validate_regex :
Re.re ->
string ->
(unit, Validate__.Err.validation_error) Stdlib.result