docs: protected void handleError(final AccountState.Error error, final AuthenticationResponse response,
                                 final PasswordPolicyConfiguration configuration, final List<MessageDescriptor> messages) throws LoginException {
  
          LOGGER.debug("Handling LDAP account state error [{}]", error);
          if (errorMap.containsKey(error)) {
              throw errorMap.get(error);
          }
          LOGGER.debug("No LDAP error mapping defined for [{}]", error);
      }