Exception: Chef::ChefFS::FileSystem::DefaultEnvironmentCannotBeModifiedError

Inherits:
OperationNotAllowedError show all
Defined in:
lib/chef/chef_fs/file_system/default_environment_cannot_be_modified_error.rb

Instance Attribute Summary

Attributes inherited from OperationNotAllowedError

#entry, #operation

Attributes inherited from FileSystemError

#cause, #entry

Instance Method Summary collapse

Methods inherited from OperationNotAllowedError

#initialize

Methods inherited from FileSystemError

#initialize

Constructor Details

This class inherits a constructor from Chef::ChefFS::FileSystem::OperationNotAllowedError

Instance Method Details

#reasonObject



25
26
27
28
# File 'lib/chef/chef_fs/file_system/default_environment_cannot_be_modified_error.rb', line 25

def reason
  result = super
  result + " (default environment cannot be modified)"
end