summaryrefslogtreecommitdiff
path: root/lib/chef/exceptions.rb
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2014-09-04 12:37:45 -0700
committerClaire McQuin <claire@getchef.com>2014-09-04 15:52:47 -0700
commit8022a0d89a85787a4b6550428ab26ae37b09b8c0 (patch)
treea7bcf6ff5d7e677c2c84724bc83519d19bd6c414 /lib/chef/exceptions.rb
parent260278d883c86dfab0c9bb933bdbe91cae752a3f (diff)
downloadchef-8022a0d89a85787a4b6550428ab26ae37b09b8c0.tar.gz
Add InvalidSearchQuery exception for malformed searches.
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 f6db5dbe56..23e223f204 100644
--- a/lib/chef/exceptions.rb
+++ b/lib/chef/exceptions.rb
@@ -347,5 +347,7 @@ class Chef
class EncodeError < RuntimeError; end
class ParseError < RuntimeError; end
end
+
+ class InvalidSearchQuery < ArgumentError; end
end
end