Exception: BackgrounDRb::RemoteWorkerError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/backgroundrb/bdrb_conn_error.rb

Overview

raised if worker throws some error

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ RemoteWorkerError

Returns a new instance of RemoteWorkerError.



25
26
27
# File 'lib/backgroundrb/bdrb_conn_error.rb', line 25

def initialize message
  @message = message
end

Instance Attribute Details

#messageObject

Returns the value of attribute message.



24
25
26
# File 'lib/backgroundrb/bdrb_conn_error.rb', line 24

def message
  @message
end