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.



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

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.



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

def underlying_error
  @underlying_error
end