summaryrefslogtreecommitdiff
path: root/lib/chef/exceptions.rb
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2014-09-04 12:05:25 -0700
committerJay Mundrawala <jdmundrawala@gmail.com>2014-09-19 12:48:08 -0700
commite473325de679718ab0695d4d3177eeeef20dc994 (patch)
tree87450c0f1e85094ab75cdcf354072202ade9ee52 /lib/chef/exceptions.rb
parentce46528db4c9a7f06a34d16ee37017a59e8aab73 (diff)
downloadchef-e473325de679718ab0695d4d3177eeeef20dc994.tar.gz
DscScript resource will raise an error if dsc is not available
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 ea053cae64..7298f1f4d1 100644
--- a/lib/chef/exceptions.rb
+++ b/lib/chef/exceptions.rb
@@ -181,6 +181,8 @@ class Chef
class ChildConvergeError < RuntimeError; end
+ class NoProviderAvailable < RuntimeError; end
+
class MissingRole < RuntimeError
NULL = Object.new