Class: WorkerException
- Inherits:
-
ScoutException
- Object
- ScoutException
- WorkerException
- Defined in:
- lib/scout/work_queue/exceptions.rb
Instance Attribute Summary collapse
-
#pid ⇒ Object
Returns the value of attribute pid.
-
#worker_exception ⇒ Object
Returns the value of attribute worker_exception.
Instance Method Summary collapse
-
#initialize(worker_exception, pid) ⇒ WorkerException
constructor
A new instance of WorkerException.
Constructor Details
#initialize(worker_exception, pid) ⇒ WorkerException
Returns a new instance of WorkerException.
14 15 16 17 |
# File 'lib/scout/work_queue/exceptions.rb', line 14 def initialize(worker_exception, pid) @worker_exception = worker_exception @pid = pid end |
Instance Attribute Details
#pid ⇒ Object
Returns the value of attribute pid.
13 14 15 |
# File 'lib/scout/work_queue/exceptions.rb', line 13 def pid @pid end |
#worker_exception ⇒ Object
Returns the value of attribute worker_exception.
13 14 15 |
# File 'lib/scout/work_queue/exceptions.rb', line 13 def worker_exception @worker_exception end |