Sha256: 6910ea89b909f3f574a8c151ac552b9af9befb16ebf5220dbe2f4c81b47c69b8

Contents?: true

Size: 299 Bytes

Versions: 2

Compression:

Stored size: 299 Bytes

Contents


module Build
	class TransientError < StandardError
	end
	
	class CommandFailure < TransientError
		def initialize(command, status)
			super "Command #{command.inspect} failed with exit status #{status}!"
		
			@command = command
			@status = status
		end
	
		attr :command
		attr :status
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
build-graph-0.1.0 lib/build/error.rb
build-graph-0.0.1 lib/build/error.rb