Exception: Klarna::API::Errors::KlarnaArgumentError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/klarna/api/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ KlarnaArgumentError

Returns a new instance of KlarnaArgumentError.



115
116
117
118
# File 'lib/klarna/api/errors.rb', line 115

def initialize(message)
  ::Klarna.log message, :error
  super(message)
end