Exception: Ruote::Beanstalk::ReceiveError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/ruote/beanstalk/receiver.rb

Overview

An error class for error emitted by the “remote side” and received here.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fei) ⇒ ReceiveError

Returns a new instance of ReceiveError.



40
41
42
43
# File 'lib/ruote/beanstalk/receiver.rb', line 40

def initialize(fei)
  @fei = fei
  super("for #{Ruote::FlowExpressionId.to_storage_id(fei)}")
end

Instance Attribute Details

#feiObject (readonly)

Returns the value of attribute fei.



38
39
40
# File 'lib/ruote/beanstalk/receiver.rb', line 38

def fei
  @fei
end