Exception: ElasticBeans::Aws::CloudformationStack::MissingOutputError
- Inherits:
-
Error
- Object
- StandardError
- Error
- ElasticBeans::Aws::CloudformationStack::MissingOutputError
- Defined in:
- lib/elastic_beans/aws/cloudformation_stack.rb
Instance Method Summary collapse
-
#initialize(stack_name:, output_key:) ⇒ MissingOutputError
constructor
A new instance of MissingOutputError.
- #message ⇒ Object
Constructor Details
#initialize(stack_name:, output_key:) ⇒ MissingOutputError
Returns a new instance of MissingOutputError.
64 65 66 67 |
# File 'lib/elastic_beans/aws/cloudformation_stack.rb', line 64 def initialize(stack_name:, output_key:) @stack_name = stack_name @output_key = output_key end |
Instance Method Details
#message ⇒ Object
69 70 71 72 |
# File 'lib/elastic_beans/aws/cloudformation_stack.rb', line 69 def "Stack `#{@stack_name}' is missing output `#{@output_key}'." \ " Make sure the stack matches the outputs required." end |