Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1 from rapid7/encrypted_databags
Browse files Browse the repository at this point in the history
Encrypted databags update
  • Loading branch information
kamilbednarz authored Sep 5, 2018
2 parents 105b22e + 4374d70 commit f6a6773
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions chef/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Exception hierarchy for chef
# Copyright (c) 2010 Noah Kantrowitz <[email protected]>


class ChefError(Exception):
"""Top-level Chef error."""


class ChefServerError(ChefError):
"""An error from a Chef server. May include a HTTP response code."""

Expand All @@ -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"""

Expand All @@ -41,4 +37,3 @@ def __init__(self, version):

class ChefDecryptionError(ChefError):
"""Error decrypting data bag value. Most likely the provided key is incorrect"""

0 comments on commit f6a6773

Please sign in to comment.