diff options
author | Claire McQuin <claire@getchef.com> | 2015-06-29 12:15:53 -0700 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2015-06-29 15:52:17 -0700 |
commit | 6a4f414666b3688a3dfa94b131f83235f4d2fa64 (patch) | |
tree | 97aabc62fb0cda8039f8bf44e6e5944e6d5430ed /lib/chef/exceptions.rb | |
parent | 1289161dd9b53a5e3c9f6c601f6552c452a3e5ad (diff) | |
download | chef-6a4f414666b3688a3dfa94b131f83235f4d2fa64.tar.gz |
Move workstation_config_loader into chef-configmcquin/chef-config/workstation-config-loader
Diffstat (limited to 'lib/chef/exceptions.rb')
-rw-r--r-- | lib/chef/exceptions.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/chef/exceptions.rb b/lib/chef/exceptions.rb index dd0bac3cf9..9b5111c36d 100644 --- a/lib/chef/exceptions.rb +++ b/lib/chef/exceptions.rb @@ -17,12 +17,16 @@ # See the License for the specific language governing permissions and # limitations under the License. +require 'chef-config/exceptions' + class Chef # == Chef::Exceptions # Chef's custom exceptions are all contained within the Chef::Exceptions # namespace. class Exceptions + ConfigurationError = ChefConfig::ConfigurationError + # Backcompat with Chef::ShellOut code: require 'mixlib/shellout/exceptions' @@ -68,7 +72,6 @@ class Chef class DuplicateRole < RuntimeError; end class ValidationFailed < ArgumentError; end class InvalidPrivateKey < ArgumentError; end - class ConfigurationError < ArgumentError; end class MissingKeyAttribute < ArgumentError; end class KeyCommandInputError < ArgumentError; end class InvalidKeyArgument < ArgumentError; end |