lib/chef/exceptions.rb in chef-0.9.14 vs lib/chef/exceptions.rb in chef-0.9.16

- old
+ new

@@ -4,13 +4,13 @@ # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. @@ -23,15 +23,15 @@ class Application < RuntimeError; end class Cron < RuntimeError; end class Env < RuntimeError; end class Exec < RuntimeError; end class ErlCall < RuntimeError; end - class FileNotFound < RuntimeError; end + class FileNotFound < RuntimeError; end class Package < RuntimeError; end class Service < RuntimeError; end class Route < RuntimeError; end - class SearchIndex < RuntimeError; end + class SearchIndex < RuntimeError; end class Override < RuntimeError; end class UnsupportedAction < RuntimeError; end class MissingLibrary < RuntimeError; end class MissingRole < RuntimeError; end class CannotDetermineNodeName < RuntimeError; end @@ -63,7 +63,10 @@ class InvalidResourceSpecification < ArgumentError; end class SolrConnectionError < RuntimeError; end class IllegalChecksumRevert < RuntimeError; end class MissingParentDirectory < RuntimeError; end class UnresolvableGitReference < RuntimeError; end + class InvalidEnvironmentRunListSpecification < ArgumentError; end + class InvalidDataBagItemID < ArgumentError; end + class InvalidDataBagName < ArgumentError; end end end