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.
36 37 38 |
# File 'lib/exeggutor.rb', line 36 def initialize(result) @result = result end |
Instance Attribute Details
#result ⇒ ProcessResult (readonly)
The result of the process execution.
32 33 34 |
# File 'lib/exeggutor.rb', line 32 def result @result end |