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

Inherits:
OperationNotAllowedError show all
Defined in:
lib/chef/chef_fs/file_system/exceptions.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



97
98
99
100
# File 'lib/chef/chef_fs/file_system/exceptions.rb', line 97

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