Exception: Berkshelf::LockfileParserError
- Inherits:
-
BerkshelfError
- Object
- StandardError
- BerkshelfError
- Berkshelf::LockfileParserError
- Defined in:
- lib/berkshelf/errors.rb
Instance Method Summary collapse
-
#initialize(original) ⇒ LockfileParserError
constructor
A new instance of LockfileParserError.
- #to_s ⇒ Object
Methods inherited from BerkshelfError
Constructor Details
#initialize(original) ⇒ LockfileParserError
Returns a new instance of LockfileParserError.
371 372 373 |
# File 'lib/berkshelf/errors.rb', line 371 def initialize(original) @original = original end |
Instance Method Details
#to_s ⇒ Object
375 376 377 378 |
# File 'lib/berkshelf/errors.rb', line 375 def to_s "Error reading the Berkshelf lockfile:\n\n" \ " #{@original.class}: #{@original.}" end |