As you can see in the screenshot you posted, this error will return to the login page. This is the case for some of the errors that occur before authentication. If you are returning errors from a rule (e.g. returning an unauthorized error for a user from a certain email domain), then those will go to your specified redirect URL.