Exception: Poke::API::Errors::LoginFailure

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

Instance Method Summary collapse

Constructor Details

#initialize(provider, error) ⇒ LoginFailure

Returns a new instance of LoginFailure.



41
42
43
# File 'lib/poke-api/errors.rb', line 41

def initialize(provider, error)
  super("Unable to login to #{provider} => [#{error} @ #{error.backtrace.first}]")
end