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

all_errors, status_code

Constructor Details

#initialize(orig_exception, msg) ⇒ YamlSyntaxError

Returns a new instance of YamlSyntaxError.



117
118
119
120
# File 'lib/bundler/errors.rb', line 117

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.



115
116
117
# File 'lib/bundler/errors.rb', line 115

def orig_exception
  @orig_exception
end