Exception: MiniCamel::ExchangeFailure

Inherits:
CamelError
  • Object
show all
Defined in:
lib/mini_camel/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, exchange_error) ⇒ ExchangeFailure

Returns a new instance of ExchangeFailure.



34
35
36
37
# File 'lib/mini_camel/error.rb', line 34

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

Instance Attribute Details

#exchange_errorObject (readonly)

Returns the value of attribute exchange_error.



32
33
34
# File 'lib/mini_camel/error.rb', line 32

def exchange_error
  @exchange_error
end