def process_exception(self, request: AxesHttpRequest, exception):  
if isinstance(exception, AxesSignalPermissionDenied):<EOL><INDENT>return get_lockout_response(request)<EOL><DEDENT>
Exception handler that processes exceptions raised by the Axes signal handler when request fails with login.

Only ``axes.exceptions.AxesSignalPermissionDenied`` exception is handled by this middleware.