Model

ErrorProcessor

Magento\ReCaptchaCustomer\Model\AjaxLogin\ErrorProcessor

What it does

This class handles error processing specifically for AJAX login requests when reCAPTCHA validation fails.

It sets a 'no dispatch' flag to prevent further action execution and returns a JSON response with appropriate error messages (validation or technical failure).

Developers would use this when implementing reCAPTCHA protection on customer login forms that use AJAX submissions.

Public Methods

  • processError()