Exception: GerritSeed::Shell::CommandError
- Inherits:
-
StandardError
- Object
- StandardError
- GerritSeed::Shell::CommandError
- Defined in:
- lib/gerrit_seed/shell.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.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
Instance Method Summary collapse
-
#initialize(message:, command:, exit_status:, output:) ⇒ CommandError
constructor
A new instance of CommandError.
Constructor Details
#initialize(message:, command:, exit_status:, output:) ⇒ CommandError
Returns a new instance of CommandError.
8 9 10 11 12 13 14 |
# File 'lib/gerrit_seed/shell.rb', line 8 def initialize(message:, command:, exit_status:, output:) @command = command @exit_status = exit_status @output = output super() end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
6 7 8 |
# File 'lib/gerrit_seed/shell.rb', line 6 def command @command end |
#exit_status ⇒ Object (readonly)
Returns the value of attribute exit_status.
6 7 8 |
# File 'lib/gerrit_seed/shell.rb', line 6 def exit_status @exit_status end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
6 7 8 |
# File 'lib/gerrit_seed/shell.rb', line 6 def output @output end |