Ejabberd.Config.Validation (ejabberd v21.4.0)

Module used to validate a list of modules.

Link to this section Summary

Functions

Given a module or a list of modules it runs validators on them and returns {:ok, mod} or {:error, mod, errors}, for each of them.

Link to this section Types

Link to this type

mod_validation()

Specs

mod_validation() :: {[EjabberdModule.t()], EjabberdModule.t(), map()}
Link to this type

mod_validation_result()

Specs

mod_validation_result() ::
  {:ok, EjabberdModule.t()} | {:error, EjabberdModule.t(), map()}

Link to this section Functions

Link to this function

validate(modules)

Specs

Given a module or a list of modules it runs validators on them and returns {:ok, mod} or {:error, mod, errors}, for each of them.