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.
409 410 411 |
# File 'lib/berkshelf/errors.rb', line 409 def initialize(original) @original = original end |
Instance Method Details
#to_s ⇒ Object Also known as: message
413 414 415 416 |
# File 'lib/berkshelf/errors.rb', line 413 def to_s "Error reading the Berkshelf lockfile:\n\n" \ " #{@original.class}: #{@original.}" end |