summaryrefslogtreecommitdiff
path: root/lib/chef/exceptions.rb
diff options
context:
space:
mode:
authorClaire McQuin <mcquin@users.noreply.github.com>2015-06-30 16:08:43 -0700
committerClaire McQuin <mcquin@users.noreply.github.com>2015-06-30 16:08:43 -0700
commit116e5219c717614658ecf2d7bf7f6b3420a8f6fe (patch)
treebada09eb9ae89e2444ce463f2eec2ed9be4aa2ae /lib/chef/exceptions.rb
parent480d18f26f17c289889ed65d3f8a50e5b336053f (diff)
parent6a4f414666b3688a3dfa94b131f83235f4d2fa64 (diff)
downloadchef-116e5219c717614658ecf2d7bf7f6b3420a8f6fe.tar.gz
Merge pull request #3612 from chef/mcquin/chef-config/workstation-config-loader
Move WorkstationConfigLoader into chef-config
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 1b726d654c..e7da6fc110 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