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.



156
157
158
159
# File 'lib/bundler/errors.rb', line 156

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.



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

def underlying_error
  @underlying_error
end