Exception: Puppet::ModuleTool::Errors::InvalidPathInPackageError
- Inherits:
-
InstallError
- Object
- RuntimeError
- Error
- ModuleToolError
- InstallError
- Puppet::ModuleTool::Errors::InvalidPathInPackageError
- Defined in:
- lib/puppet/module_tool/errors/installer.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(options) ⇒ InvalidPathInPackageError
constructor
A new instance of InvalidPathInPackageError.
- #multiline ⇒ Object
Methods inherited from ModuleToolError
Constructor Details
#initialize(options) ⇒ InvalidPathInPackageError
Returns a new instance of InvalidPathInPackageError.
112 113 114 115 116 117 |
# File 'lib/puppet/module_tool/errors/installer.rb', line 112 def initialize() @requested_package = [:requested_package] @entry_path = [:entry_path] @directory = [:directory] super "Attempt to install file into #{@entry_path.inspect} under #{@directory.inspect}" end |
Instance Method Details
#multiline ⇒ Object
119 120 121 122 123 124 125 |
# File 'lib/puppet/module_tool/errors/installer.rb', line 119 def multiline "Could not install package \#{@requested_package}\n Package \#{@requested_package} attempted to install file into\n \#{@entry_path.inspect} under \#{@directory.inspect}.\n MSG\nend\n".strip |