Ejabberd.Config.Validator.Attrs (ejabberd v21.1.0)
Validator module used to validate attributes.
Link to this section Summary
Functions
Given a module (with the form used for validation) it runs Attr.validate/1 on each attribute and returns the validation tuple with the errors updated, if found.
Link to this section Types
Link to this type
mod_validation()
Specs
mod_validation() :: {[EjabberdModule.t()], EjabberdModule.t(), map()}
Link to this section Functions
Link to this function
validate(arg)
Specs
validate(mod_validation()) :: mod_validation()
Given a module (with the form used for validation) it runs Attr.validate/1 on each attribute and returns the validation tuple with the errors updated, if found.