Exception: Clavis::ProviderAPIError

Inherits:
ProviderError show all
Defined in:
lib/clavis/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(provider, message) ⇒ ProviderAPIError

Returns a new instance of ProviderAPIError.



32
33
34
# File 'lib/clavis/errors.rb', line 32

def initialize(provider, message)
  super("API error from #{provider}: #{message}")
end