Exception: Exeggutor::ProcessError

Inherits:
StandardError
  • Object
show all
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

Instance Method Summary collapse

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

#resultProcessResult (readonly)

The result of the process execution.

Returns:



126
127
128
# File 'lib/exeggutor.rb', line 126

def result
  @result
end