Exception: Fig::PackageDescriptorParseError

Inherits:
UserInputError
  • Object
show all
Defined in:
lib/fig/package_descriptor_parse_error.rb

Overview

Could not turn a string into a PackageDescriptor.

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message, original_string)
  super(message)

  @file = original_string

  return
end

Instance Attribute Details

#original_stringObject (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