Exception: Chef::Exceptions::DeprecatedFeatureError

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

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ DeprecatedFeatureError

Returns a new instance of DeprecatedFeatureError.



269
270
271
# File 'lib/chef/exceptions.rb', line 269

def initialize(message)
  super("#{message} (raising error due to treat_deprecation_warnings_as_errors being set)")
end