Exception: ActiveMerchant::ConnectionError

Inherits:
ActiveMerchantError show all
Defined in:
lib/active_merchant/errors.rb

Overview

:nodoc:

Direct Known Subclasses

RetriableConnectionError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, triggering_exception) ⇒ ConnectionError

Returns a new instance of ConnectionError


8
9
10
11
# File 'lib/active_merchant/errors.rb', line 8

def initialize(message, triggering_exception)
  super(message)
  @triggering_exception = triggering_exception
end

Instance Attribute Details

#triggering_exceptionObject (readonly)

Returns the value of attribute triggering_exception


6
7
8
# File 'lib/active_merchant/errors.rb', line 6

def triggering_exception
  @triggering_exception
end