lib/berkshelf/errors.rb in berkshelf-1.3.1 vs lib/berkshelf/errors.rb in berkshelf-1.4.0.rc1
- old
+ new
@@ -63,11 +63,10 @@
end
class DuplicateSourceDefined < BerkshelfError; status_code(105); end
class NoSolution < BerkshelfError; status_code(106); end
class CookbookSyntaxError < BerkshelfError; status_code(107); end
- class UploadFailure < BerkshelfError; status_code(108); end
class BerksConfigNotFound < BerkshelfError; status_code(109); end
class InvalidGitURI < BerkshelfError
status_code(110)
attr_reader :uri
@@ -148,6 +147,9 @@
class ValidationFailed < BerkshelfError; status_code(121); end
class InvalidVersionConstraint < BerkshelfError; status_code(122); end
class CommunitySiteError < BerkshelfError; status_code(123); end
class CookbookValidationFailure < BerkshelfError; status_code(124); end
class ClientKeyFileNotFound < BerkshelfError; status_code(125); end
+
+ class UploadFailure < BerkshelfError; end
+ class FrozenCookbook < UploadFailure; status_code(126); end
end