Exception: Bwrap::Execution::ExecutionFailed
- Inherits:
-
CommandError
- Object
- StandardError
- CommandError
- Bwrap::Execution::ExecutionFailed
- Defined in:
- lib/bwrap/execution/exceptions.rb
Overview
Signifies that command execution has failed.
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
The command that was executed.
-
#output ⇒ Object
readonly
Output of the command.
Instance Method Summary collapse
-
#initialize(msg, command:, output:) ⇒ ExecutionFailed
constructor
A new instance of ExecutionFailed.
Constructor Details
#initialize(msg, command:, output:) ⇒ ExecutionFailed
Returns a new instance of ExecutionFailed.
16 17 18 19 20 21 |
# File 'lib/bwrap/execution/exceptions.rb', line 16 def initialize msg, command:, output: @command = command @output = output super msg end |
Instance Attribute Details
#command ⇒ Object (readonly)
The command that was executed.
11 12 13 |
# File 'lib/bwrap/execution/exceptions.rb', line 11 def command @command end |
#output ⇒ Object (readonly)
Output of the command.
14 15 16 |
# File 'lib/bwrap/execution/exceptions.rb', line 14 def output @output end |