class Bundler::GemRequireError

Parent:
Bundler::BundlerError

Attributes

orig_exception[R]

Public Class Methods

new(orig_exception, msg) Show source
# File lib/bundler/errors.rb, line 89
def initialize(orig_exception, msg)
  full_message = msg + "\nGem Load Error is: #{orig_exception.message}\n"\
                  "Backtrace for gem load error is:\n"\
                  "#{orig_exception.backtrace.join("\n")}\n"\
                  "Bundler Error Backtrace:\n"
  super(full_message)
  @orig_exception = orig_exception
end
Calls superclass method Exception::new

Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.