diff options
author | Claire McQuin <mcquin@users.noreply.github.com> | 2015-06-30 16:08:43 -0700 |
---|---|---|
committer | Claire McQuin <mcquin@users.noreply.github.com> | 2015-06-30 16:08:43 -0700 |
commit | 116e5219c717614658ecf2d7bf7f6b3420a8f6fe (patch) | |
tree | bada09eb9ae89e2444ce463f2eec2ed9be4aa2ae /lib/chef/exceptions.rb | |
parent | 480d18f26f17c289889ed65d3f8a50e5b336053f (diff) | |
parent | 6a4f414666b3688a3dfa94b131f83235f4d2fa64 (diff) | |
download | chef-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.rb | 5 |
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 |