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



550
551
552
# File 'lib/berkshelf/errors.rb', line 550

def intialize(environment_file)
  @environment_file = environment_file
end

#to_sObject



554
555
556
# File 'lib/berkshelf/errors.rb', line 554

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