summaryrefslogtreecommitdiff
path: root/lib/chef/exceptions.rb
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2015-06-29 12:15:53 -0700
committerClaire McQuin <claire@getchef.com>2015-06-29 15:52:17 -0700
commit6a4f414666b3688a3dfa94b131f83235f4d2fa64 (patch)
tree97aabc62fb0cda8039f8bf44e6e5944e6d5430ed /lib/chef/exceptions.rb
parent1289161dd9b53a5e3c9f6c601f6552c452a3e5ad (diff)
downloadchef-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.rb5
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