Exception: BuildMaster::CommandError
- Inherits:
-
StandardError
- Object
- StandardError
- BuildMaster::CommandError
- Defined in:
- lib/buildmaster/cotta/command_error.rb
Instance Attribute Summary collapse
-
#output ⇒ Object
readonly
Returns the value of attribute output.
-
#proc_status ⇒ Object
readonly
Returns the value of attribute proc_status.
Instance Method Summary collapse
-
#initialize(proc_status, output) ⇒ CommandError
constructor
A new instance of CommandError.
Constructor Details
#initialize(proc_status, output) ⇒ CommandError
Returns a new instance of CommandError.
5 6 7 8 |
# File 'lib/buildmaster/cotta/command_error.rb', line 5 def initialize(proc_status, output) @proc_status = proc_status @output = output end |
Instance Attribute Details
#output ⇒ Object (readonly)
Returns the value of attribute output.
3 4 5 |
# File 'lib/buildmaster/cotta/command_error.rb', line 3 def output @output end |
#proc_status ⇒ Object (readonly)
Returns the value of attribute proc_status.
3 4 5 |
# File 'lib/buildmaster/cotta/command_error.rb', line 3 def proc_status @proc_status end |