summaryrefslogtreecommitdiff
path: root/lib/chef/encrypted_data_bag_item/decryption_failure.rb
diff options
context:
space:
mode:
authorJohn Keiser <jkeiser@opscode.com>2013-12-03 12:51:07 -0800
committerJohn Keiser <jkeiser@opscode.com>2013-12-03 12:51:07 -0800
commit9bbc9b101d00c309b205f2fdfccc4c7a093d9d31 (patch)
treeb7ac0c7cf4f9191cb8690a94b5826c44d6ce2e89 /lib/chef/encrypted_data_bag_item/decryption_failure.rb
parentca77ec8471560de11ca1ca3244c8fdaa178741cc (diff)
downloadchef-9bbc9b101d00c309b205f2fdfccc4c7a093d9d31.tar.gz
Split EncryptedDataBagItem into multiple files
Diffstat (limited to 'lib/chef/encrypted_data_bag_item/decryption_failure.rb')
-rw-r--r--lib/chef/encrypted_data_bag_item/decryption_failure.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/chef/encrypted_data_bag_item/decryption_failure.rb b/lib/chef/encrypted_data_bag_item/decryption_failure.rb
new file mode 100644
index 0000000000..47d263f197
--- /dev/null
+++ b/lib/chef/encrypted_data_bag_item/decryption_failure.rb
@@ -0,0 +1,22 @@
+#
+# Author:: Seth Falcon (<seth@opscode.com>)
+# Copyright:: Copyright 2010-2011 Opscode, Inc.
+# License:: Apache License, Version 2.0
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+class Chef::EncryptedDataBagItem
+ class DecryptionFailure < StandardError
+ end
+end