diff --git a/chef/exceptions.py b/chef/exceptions.py index c1ff004..ea79e24 100644 --- a/chef/exceptions.py +++ b/chef/exceptions.py @@ -1,11 +1,9 @@ # Exception hierarchy for chef # Copyright (c) 2010 Noah Kantrowitz - class ChefError(Exception): """Top-level Chef error.""" - class ChefServerError(ChefError): """An error from a Chef server. May include a HTTP response code.""" @@ -23,11 +21,9 @@ def from_error(message, code=None): }.get(code, ChefServerError) return cls(message, code) - class ChefServerNotFoundError(ChefServerError): """A 404 Not Found server error.""" - class ChefAPIVersionError(ChefError): """An incompatible API version error""" @@ -41,4 +37,3 @@ def __init__(self, version): class ChefDecryptionError(ChefError): """Error decrypting data bag value. Most likely the provided key is incorrect""" -