Exception: ElasticBeans::Network::MissingNetworkingError

Inherits:
Error
  • Object
show all
Defined in:
lib/elastic_beans/network.rb

Instance Method Summary collapse

Constructor Details

#initialize(stack:, key:) ⇒ MissingNetworkingError

Returns a new instance of MissingNetworkingError.



56
57
58
59
# File 'lib/elastic_beans/network.rb', line 56

def initialize(stack:, key:)
  @stack = stack
  @key = key
end

Instance Method Details

#messageObject



61
62
63
64
# File 'lib/elastic_beans/network.rb', line 61

def message
  "Networking stack '#{@stack.name}' is missing output '#{@key}'." \
    " Make sure the stack matches the outputs required."
end