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.



152
153
154
155
# File 'lib/bundler/errors.rb', line 152

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.



150
151
152
# File 'lib/bundler/errors.rb', line 150

def underlying_error
  @underlying_error
end