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.



8
9
10
11
12
13
14
# File 'lib/fig/package_descriptor_parse_error.rb', line 8

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.



6
7
8
# File 'lib/fig/package_descriptor_parse_error.rb', line 6

def original_string
  @original_string
end