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.



168
169
170
171
# File 'lib/bundler/errors.rb', line 168

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.



166
167
168
# File 'lib/bundler/errors.rb', line 166

def underlying_error
  @underlying_error
end