Ejabberd.Config.Validator.Attrs.validate
You're seeing just the function
validate
, go back to Ejabberd.Config.Validator.Attrs module for more information.
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.