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.


36
37
38
# File 'lib/exeggutor.rb', line 36

def initialize(result)
  @result = result
end

Instance Attribute Details

#resultProcessResult (readonly)

The result of the process execution.

Returns:


32
33
34
# File 'lib/exeggutor.rb', line 32

def result
  @result
end