Exception: Roast::Workflow::CommandExecutor::CommandExecutionError
- Inherits:
-
StandardError
- Object
- StandardError
- Roast::Workflow::CommandExecutor::CommandExecutionError
- Defined in:
- lib/roast/workflow/command_executor.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#exit_status ⇒ Object
readonly
Returns the value of attribute exit_status.
-
#original_error ⇒ Object
readonly
Returns the value of attribute original_error.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
Instance Method Summary collapse
-
#initialize(message, command:, exit_status: nil, original_error: nil) ⇒ CommandExecutionError
constructor
A new instance of CommandExecutionError.
Constructor Details
#initialize(message, command:, exit_status: nil, original_error: nil) ⇒ CommandExecutionError
Returns a new instance of CommandExecutionError.
9 10 11 12 13 14 |
# File 'lib/roast/workflow/command_executor.rb', line 9 def initialize(, command:, exit_status: nil, original_error: nil) @command = command @exit_status = exit_status @original_error = original_error super() end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
7 8 9 |
# File 'lib/roast/workflow/command_executor.rb', line 7 def command @command end |
#exit_status ⇒ Object (readonly)
Returns the value of attribute exit_status.
7 8 9 |
# File 'lib/roast/workflow/command_executor.rb', line 7 def exit_status @exit_status end |
#original_error ⇒ Object (readonly)
Returns the value of attribute original_error.
7 8 9 |
# File 'lib/roast/workflow/command_executor.rb', line 7 def original_error @original_error end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
7 8 9 |
# File 'lib/roast/workflow/command_executor.rb', line 7 def output @output end |