Method: Qpid::Proton::Event#condition

Defined in:
lib/core/event.rb

#conditionCondition

Returns Error condition associated with this event or nil if none.



145
146
147
148
# File 'lib/core/event.rb', line 145

def condition
  (context.remote_condition if context.respond_to? :remote_condition) ||
    (context.condition if context.respond_to? :condition)
end