Exception: Amplify::MissingDatabag
- Inherits:
-
StandardError
- Object
- StandardError
- Amplify::MissingDatabag
- Defined in:
- lib/amplify/vault_data_bag_wrapper_base.rb
Instance Method Summary collapse
-
#initialize(databag) ⇒ MissingDatabag
constructor
A new instance of MissingDatabag.
Constructor Details
#initialize(databag) ⇒ MissingDatabag
Returns a new instance of MissingDatabag.
71 72 73 74 75 76 77 78 |
# File 'lib/amplify/vault_data_bag_wrapper_base.rb', line 71 def initialize(databag) = " Couldn't find \#{databag[:name]}/\#{databag[:item]}\n You should only get this error during local converge.\n Check: test/chef/data_bags/\#{databag[:name]}/\#{databag[:item]}.json\n" super() end |