Exception: Bundler::GenericSystemCallError

Inherits:
BundlerError
  • Object
show all
Defined in:
lib/bundler/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BundlerError

all_errors, status_code

Constructor Details

#initialize(underlying_error, message) ⇒ GenericSystemCallError

Returns a new instance of GenericSystemCallError.



199
200
201
202
# File 'lib/bundler/errors.rb', line 199

def initialize(underlying_error, message)
  @underlying_error = underlying_error
  super("#{message}\nThe underlying system error is #{@underlying_error.class}: #{@underlying_error}")
end

Instance Attribute Details

#underlying_errorObject (readonly)

Returns the value of attribute underlying_error.



197
198
199
# File 'lib/bundler/errors.rb', line 197

def underlying_error
  @underlying_error
end