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 (also: #message)
Methods inherited from BerkshelfError
Constructor Details
#initialize(original) ⇒ LockfileParserError
Returns a new instance of LockfileParserError.
411 412 413 |
# File 'lib/berkshelf/errors.rb', line 411 def initialize(original) @original = original end |
Instance Method Details
#to_s ⇒ Object Also known as: message
415 416 417 418 |
# File 'lib/berkshelf/errors.rb', line 415 def to_s "Error reading the Berkshelf lockfile:\n\n" \ " #{@original.class}: #{@original.}" end |