Exception: Chef::Exceptions::FileContentStagingError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/chef/exceptions.rb

Overview

Can not create staging file during file deployment

Instance Method Summary collapse

Constructor Details

#initialize(errors) ⇒ FileContentStagingError

Returns a new instance of FileContentStagingError.



182
183
184
# File 'lib/chef/exceptions.rb', line 182

def initialize(errors)
  super "Staging tempfile can not be created during file deployment.\n Errors: #{errors.join('\n')}!"
end