Exception: Fig::NoSuchPackageConfigError

Inherits:
UserInputError show all
Defined in:
lib/fig/no_such_package_config_error.rb

Overview

User specified a configuration for a Package that does not exist.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, descriptor, package) ⇒ NoSuchPackageConfigError

Returns a new instance of NoSuchPackageConfigError.



12
13
14
15
16
17
# File 'lib/fig/no_such_package_config_error.rb', line 12

def initialize(message, descriptor, package)
  super(message)

  @descriptor = descriptor
  @package = package
end

Instance Attribute Details

#descriptorObject (readonly)

Returns the value of attribute descriptor.



9
10
11
# File 'lib/fig/no_such_package_config_error.rb', line 9

def descriptor
  @descriptor
end

#packageObject (readonly)

Returns the value of attribute package.



10
11
12
# File 'lib/fig/no_such_package_config_error.rb', line 10

def package
  @package
end