lib/buildmaster/cotta/command_error.rb in BuildMaster-0.9.1 vs lib/buildmaster/cotta/command_error.rb in BuildMaster-1.0.6
- old
+ new
@@ -1,5 +1,10 @@
module BuildMaster
class CommandError < StandardError
-
+ attr_reader :proc_status, :output
+
+ def initialize(proc_status, output)
+ @proc_status = proc_status
+ @output = output
+ end
end
end
\ No newline at end of file