lib/ruote/exp/fe_participant.rb
# Overrides FlowExpression#handle_on_error. Attempts to call a
# potential #on_error method in the participant implementation.
#
# If that method exists and returns something true-ish, will not call
# the super #handle_on_error, it will directly reply to the parent.
#


If that method exists and returns something true-ish, will not call
the super #handle_on_error, it will directly reply to the parent.
If that method exists and returns something true - ish will not call the super #handle_on_error it will directly reply to the parent .
def handle_on_error(msg, err)
      r = trigger_callback(:on_error, msg, err)
      if r
        reply_to_parent(msg['workitem'])
        true 
      else
        super(msg, err)
      end
    end
def handle_on_error ( msg , err ) r = trigger_callback ( :on_error , msg , err ) if r reply_to_parent ( msg [ 'workitem' ] ) true else super ( msg , err ) end end
Overrides FlowExpression#handle_on_error.
Overrides FlowExpression#handle_on_error .
# yes, we've dealt with the error.
msg
err