Exception: Berkshelf::EnvironmentFileNotFound
- Inherits:
-
EnvironmentNotFound
- Object
- StandardError
- BerkshelfError
- EnvironmentNotFound
- Berkshelf::EnvironmentFileNotFound
- Defined in:
- lib/berkshelf/errors.rb
Overview
Raised when envFile provided to apply -f is not found
Instance Method Summary collapse
Methods inherited from EnvironmentNotFound
Methods inherited from BerkshelfError
Constructor Details
This class inherits a constructor from Berkshelf::EnvironmentNotFound
Instance Method Details
#intialize(environment_file) ⇒ Object
550 551 552 |
# File 'lib/berkshelf/errors.rb', line 550 def intialize(environment_file) @environment_file = environment_file end |
#to_s ⇒ Object
554 555 556 |
# File 'lib/berkshelf/errors.rb', line 554 def to_s "Could not find environment file #{@environment_file}" end |