Exception: Poke::API::Errors::GoogleTwoFactorAuthenticationFailure

Inherits:
StandardError
  • Object
show all
Defined in:
lib/poke-api/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ GoogleTwoFactorAuthenticationFailure

Returns a new instance of GoogleTwoFactorAuthenticationFailure.



35
36
37
# File 'lib/poke-api/errors.rb', line 35

def initialize(response)
  super("Two-factor authentication not supported. Create an app-specific password to log in.")
end