Exception: Puppet::ModuleTool::Errors::MissingPackageError
- Inherits:
-
InstallError
- Object
- StandardError
- ModuleToolError
- InstallError
- Puppet::ModuleTool::Errors::MissingPackageError
- Defined in:
- lib/vendor/puppet/module_tool/errors/installer.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ MissingPackageError
constructor
A new instance of MissingPackageError.
- #multiline ⇒ Object
Methods inherited from ModuleToolError
Constructor Details
#initialize(options) ⇒ MissingPackageError
Returns a new instance of MissingPackageError.
62 63 64 65 |
# File 'lib/vendor/puppet/module_tool/errors/installer.rb', line 62 def initialize() @requested_package = [:requested_package] super "#{@requested_package} requested; Package #{@requested_package} does not exist" end |
Instance Method Details
#multiline ⇒ Object
67 68 69 70 71 72 |
# File 'lib/vendor/puppet/module_tool/errors/installer.rb', line 67 def multiline <<-MSG.strip Could not install package #{@requested_package} Package #{@requested_package} does not exist MSG end |