Exception: Bundler::YamlSyntaxError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BundlerError

status_code

Constructor Details

#initialize(orig_exception, msg) ⇒ YamlSyntaxError

Returns a new instance of YamlSyntaxError.



84
85
86
87
# File 'lib/bundler/errors.rb', line 84

def initialize(orig_exception, msg)
  super(msg)
  @orig_exception = orig_exception
end

Instance Attribute Details

#orig_exceptionObject (readonly)

Returns the value of attribute orig_exception.



82
83
84
# File 'lib/bundler/errors.rb', line 82

def orig_exception
  @orig_exception
end