diff options
author | Claire McQuin <claire@getchef.com> | 2014-09-04 12:37:45 -0700 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-09-04 15:52:47 -0700 |
commit | 8022a0d89a85787a4b6550428ab26ae37b09b8c0 (patch) | |
tree | a7bcf6ff5d7e677c2c84724bc83519d19bd6c414 /lib/chef/exceptions.rb | |
parent | 260278d883c86dfab0c9bb933bdbe91cae752a3f (diff) | |
download | chef-8022a0d89a85787a4b6550428ab26ae37b09b8c0.tar.gz |
Add InvalidSearchQuery exception for malformed searches.
Diffstat (limited to 'lib/chef/exceptions.rb')
-rw-r--r-- | lib/chef/exceptions.rb | 2 |
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 |