Exception: Exeggutor::ProcessError
- Inherits:
-
StandardError
- Object
- StandardError
- Exeggutor::ProcessError
- Defined in:
- lib/exeggutor.rb
Overview
Represents an error that occurs during a process execution. The error contains a ProcessResult object with details about the process.
Instance Attribute Summary collapse
-
#result ⇒ ProcessResult
readonly
The result of the process execution.
Instance Method Summary collapse
-
#initialize(result) ⇒ ProcessError
constructor
A new instance of ProcessError.
Constructor Details
#initialize(result) ⇒ ProcessError
Returns a new instance of ProcessError.
130 131 132 |
# File 'lib/exeggutor.rb', line 130 def initialize(result) @result = result end |
Instance Attribute Details
#result ⇒ ProcessResult (readonly)
The result of the process execution.
126 127 128 |
# File 'lib/exeggutor.rb', line 126 def result @result end |