Exception: Berkshelf::EnvironmentFileNotFound

Inherits:
EnvironmentNotFound show all
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

#initialize

Methods inherited from BerkshelfError

set_status_code

Constructor Details

This class inherits a constructor from Berkshelf::EnvironmentNotFound

Instance Method Details

#intialize(environment_file) ⇒ Object



544
545
546
# File 'lib/berkshelf/errors.rb', line 544

def intialize(environment_file)
  @environment_file = environment_file
end

#to_sObject



548
549
550
# File 'lib/berkshelf/errors.rb', line 548

def to_s
  "Could not find environment file #{@environment_file}"
end