Exception: Fig::NoSuchPackageConfigError
- Inherits:
-
UserInputError
- Object
- StandardError
- UserInputError
- Fig::NoSuchPackageConfigError
- 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
-
#descriptor ⇒ Object
readonly
Returns the value of attribute descriptor.
-
#package ⇒ Object
readonly
Returns the value of attribute package.
Instance Method Summary collapse
-
#initialize(message, descriptor, package) ⇒ NoSuchPackageConfigError
constructor
A new instance of NoSuchPackageConfigError.
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(, descriptor, package) super() @descriptor = descriptor @package = package end |
Instance Attribute Details
#descriptor ⇒ Object (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 |
#package ⇒ Object (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 |