Exception: Fig::PackageDescriptorParseError
- Inherits:
-
UserInputError
- Object
- StandardError
- UserInputError
- Fig::PackageDescriptorParseError
- Defined in:
- lib/fig/package_descriptor_parse_error.rb
Overview
Could not turn a string into a PackageDescriptor.
Instance Attribute Summary collapse
-
#original_string ⇒ Object
readonly
Returns the value of attribute original_string.
Instance Method Summary collapse
-
#initialize(message, original_string) ⇒ PackageDescriptorParseError
constructor
A new instance of PackageDescriptorParseError.
Constructor Details
#initialize(message, original_string) ⇒ PackageDescriptorParseError
Returns a new instance of PackageDescriptorParseError.
10 11 12 13 14 15 16 |
# File 'lib/fig/package_descriptor_parse_error.rb', line 10 def initialize(, original_string) super() @file = original_string return end |
Instance Attribute Details
#original_string ⇒ Object (readonly)
Returns the value of attribute original_string.
8 9 10 |
# File 'lib/fig/package_descriptor_parse_error.rb', line 8 def original_string @original_string end |