Exception: Gip::CommandError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/gip.rb

Instance Method Summary collapse

Constructor Details

#initialize(message, status) ⇒ CommandError

Returns a new instance of CommandError.



171
172
173
174
# File 'lib/gip.rb', line 171

def initialize(message, status)
  super(message)
  @status = status
end

Instance Method Details

#exitstatusObject



176
177
178
# File 'lib/gip.rb', line 176

def exitstatus
  @status.exitstatus
end