Exception: Poke::API::Errors::InvalidProvider

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

Instance Method Summary collapse

Constructor Details

#initialize(provider) ⇒ InvalidProvider

Returns a new instance of InvalidProvider.



5
6
7
# File 'lib/poke-api/errors.rb', line 5

def initialize(provider)
  super("Invalid provider #{provider}.")
end