Exception: Poke::API::Errors::LoginFailure
- Inherits:
-
StandardError
- Object
- StandardError
- Poke::API::Errors::LoginFailure
- Defined in:
- lib/poke-api/errors.rb
Instance Method Summary collapse
-
#initialize(provider, error) ⇒ LoginFailure
constructor
A new instance of LoginFailure.
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 |