lib/berkshelf/errors.rb in berkshelf-0.3.7 vs lib/berkshelf/errors.rb in berkshelf-0.4.0.rc1

- old
+ new

@@ -9,10 +9,11 @@ end alias_method :message, :to_s end + class InternalError < BerkshelfError; status_code(99); end class BerksfileNotFound < BerkshelfError; status_code(100); end class NoVersionForConstraints < BerkshelfError; status_code(101); end class DownloadFailure < BerkshelfError; status_code(102); end class CookbookNotFound < BerkshelfError; status_code(103); end class GitError < BerkshelfError @@ -56,6 +57,7 @@ "Could not find a Git executable in your path. Please add it and try again." end end class ConstraintNotSatisfied < BerkshelfError; status_code(111); end + class InvalidChefAPILocation < BerkshelfError; status_code(112); end end