Exception: Awspec::Type::InvalidRdsDbParameter

Inherits:
StandardError
  • Object
show all
Defined in:
lib/awspec/type/rds_db_parameter_group.rb

Instance Method Summary collapse

Constructor Details

#initialize(parameter_name) ⇒ InvalidRdsDbParameter

Overrides the superclass initialize method to include more information and default error message. Expected parameters:

  • parameter_name: the name of the parameter.



11
12
13
14
15
# File 'lib/awspec/type/rds_db_parameter_group.rb', line 11

def initialize(parameter_name)
  @param_name = parameter_name
  message = "There is no such parameter \"rds.#{parameter_name}\""
  super message
end