ejabberd v17.01.0 Ejabberd.Config.Validator.Attrs

Validator module used to validate attributes.

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

Types

mod_validation()
mod_validation() :: {[EjabberdModule.t], EjabberdModule.t, map}

Functions

validate(arg)

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.