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.



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

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