Exception: Bundler::DirectoryRemovalError

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

Instance Method Summary collapse

Methods inherited from BundlerError

all_errors, status_code

Constructor Details

#initialize(orig_exception, msg) ⇒ DirectoryRemovalError

Returns a new instance of DirectoryRemovalError.



208
209
210
211
212
213
214
# File 'lib/bundler/errors.rb', line 208

def initialize(orig_exception, msg)
  full_message = "#{msg}.\n" \
                 "The underlying error was #{orig_exception.class}: #{orig_exception.message}, with backtrace:\n" \
                 "  #{orig_exception.backtrace.join("\n  ")}\n\n" \
                 "Bundler Error Backtrace:"
  super(full_message)
end