code: def handle_failed_login(self, login_result):
          
          error_code = login_result.get('error')
          if '2fa-required' in error_code:
              utils.error_message('Login Failed: 2FA or 2SV is active!')
              self.trigger_two_step_login(login_result)
              self.finish_two_step_login()
          else:
              utils.error_message_and_exit('\nLogin Failed', login_result)
docs: If Two Factor Authentication (2FA/2SV) is enabled, the initial
          login will fail with a predictable error. Catching this error allows us
          to begin the authentication process.
  
          Other types of errors can be treated in a similar way.