error

fun error(key: Any, cause: AuthenticationFailedCause): Unit

Appends an error to the errors