summaryrefslogtreecommitdiff
path: root/lib/chef/exceptions.rb
diff options
context:
space:
mode:
authordanielsdeleo <dan@getchef.com>2015-02-06 14:58:26 -0800
committerdanielsdeleo <dan@getchef.com>2015-02-06 15:00:57 -0800
commit74db11c60c3d39f72e4d09c88aa642af60bbb49d (patch)
tree3090cd88a5c71b51f12a5c1b34dbd8069d5bc82c /lib/chef/exceptions.rb
parente89989bd04f428c0bc0cd5ce0c459c35ebd54afe (diff)
downloadchef-74db11c60c3d39f72e4d09c88aa642af60bbb49d.tar.gz
Add config to treat deprecation warnings as errors
Diffstat (limited to 'lib/chef/exceptions.rb')
-rw-r--r--lib/chef/exceptions.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb
index 0fa8696584..78d77e3778 100644
--- a/lib/chef/exceptions.rb
+++ b/lib/chef/exceptions.rb
@@ -212,6 +212,8 @@ class Chef
class NoProviderAvailable < RuntimeError; end
+ class DeprecatedFeatureError < RuntimeError; end
+
class MissingRole < RuntimeError
NULL = Object.new