Method: Bundler::DirectoryRemovalError#initialize

Defined in:
lib/bundler/errors.rb

#initialize(orig_exception, msg) ⇒ DirectoryRemovalError

Returns a new instance of DirectoryRemovalError.



222
223
224
225
226
227
228
# File 'lib/bundler/errors.rb', line 222

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