summaryrefslogtreecommitdiff
path: root/lib/chef/exceptions.rb
diff options
context:
space:
mode:
authorAliasgar16 <aliasgar.batterywala@msystechnologies.com>2017-01-23 21:12:37 +0530
committerBryan McLellan <btm@loftninjas.org>2017-01-23 10:42:37 -0500
commit0d7aac70c39aae2456ca5eba76af2f80057324ad (patch)
treee7559232dbd5886d70c1630847e0739712253248 /lib/chef/exceptions.rb
parent85a6e0f72ef098b6ef47dac3b2833ea66e51f3e1 (diff)
downloadchef-0d7aac70c39aae2456ca5eba76af2f80057324ad.tar.gz
Added module_version attribute for dsc_resource. (#5701)
* Added module_version attribute for dsc_resource. Signed-off-by: aliasgar16 <aliasgar.batterywala@msystechnologies.com>
Diffstat (limited to 'lib/chef/exceptions.rb')
-rw-r--r--lib/chef/exceptions.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb
index 2d6dcef17e..864268a85e 100644
--- a/lib/chef/exceptions.rb
+++ b/lib/chef/exceptions.rb
@@ -525,5 +525,8 @@ This error is most often caused by network issues (proxies, etc) outside of chef
super "Found multiple matching resources. #{matches_info.join("\n")}"
end
end
+
+ # exception specific to invalid usage of 'dsc_resource' resource
+ class DSCModuleNameMissing < ArgumentError; end
end
end