Class: Ronin::Recon::Message::JobFailed Private
- Inherits:
-
Object
- Object
- Ronin::Recon::Message::JobFailed
- Defined in:
- lib/ronin/recon/message/job_failed.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Indicates that a job encountered an exception.
Instance Attribute Summary collapse
-
#exception ⇒ StandardError
readonly
private
The exception.
-
#value ⇒ Value
readonly
private
The input value object.
-
#worker ⇒ Worker
readonly
private
The worker object.
Instance Method Summary collapse
-
#initialize(worker, value, exception) ⇒ JobFailed
constructor
private
Initializes the message.
Constructor Details
#initialize(worker, value, exception) ⇒ JobFailed
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Initializes the message.
58 59 60 61 62 63 64 |
# File 'lib/ronin/recon/message/job_failed.rb', line 58 def initialize(worker,value,exception) @worker = worker @value = value @exception = exception freeze end |
Instance Attribute Details
#exception ⇒ StandardError (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
The exception.
44 45 46 |
# File 'lib/ronin/recon/message/job_failed.rb', line 44 def exception @exception end |
#value ⇒ Value (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
The input value object.
39 40 41 |
# File 'lib/ronin/recon/message/job_failed.rb', line 39 def value @value end |
#worker ⇒ Worker (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
The worker object.
34 35 36 |
# File 'lib/ronin/recon/message/job_failed.rb', line 34 def worker @worker end |