Sha256: 1149b5c180e17570131d5bd0ddff8770483cca23957378235f88c3430abd0ea0

Contents?: true

Size: 473 Bytes

Versions: 2

Compression:

Stored size: 473 Bytes

Contents

#
# Authors: Christopher M Wood (<woodc@us.ibm.com>)
#		   John F Hutchinson (<jfhutchi@us.ibm.com)
# © Copyright IBM Corporation 2015.
#
# LICENSE: MIT (http://opensource.org/licenses/MIT)
# 
class CommandFailure < StandardError
    attr_reader :stderr, :exit_code, :exit_signal
    
    def initialize(stderr, exit_code, exit_signal)
        @stderr, @exit_code, @exit_signal = stderr, exit_code, exit_signal
    end
    
    def to_s
        return @stderr
    end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rbvppc-1.0.2 lib/rbvppc/command_failure.rb
rbvppc-1.0.1 lib/rbvppc/command_failure.rb