PasswordValidator.Utils (Password Validator v0.5.2)

View Source

Summary

Functions

collect_errors(list)

@spec collect_errors(ok: any(), error: any()) :: {:ok, list()} | {:error, list()}

ok_or_errors(list)

@spec ok_or_errors([:ok | {:error, any()}]) :: :ok | {:error, list()}