Exception: PuppetForge::InvalidPathInPackageError
- Defined in:
- lib/puppet_forge/error.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(options) ⇒ InvalidPathInPackageError
constructor
A new instance of InvalidPathInPackageError.
- #multiline ⇒ Object
Constructor Details
#initialize(options) ⇒ InvalidPathInPackageError
Returns a new instance of InvalidPathInPackageError.
16 17 18 19 20 |
# File 'lib/puppet_forge/error.rb', line 16 def initialize() @entry_path = [:entry_path] @directory = [:directory] super "Attempt to install file into #{@entry_path.inspect} under #{@directory.inspect}" end |
Instance Method Details
#multiline ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/puppet_forge/error.rb', line 22 def multiline "Could not install package\n Package attempted to install file into\n \#{@entry_path.inspect} under \#{@directory.inspect}.\n MSG\nend\n".strip |