Class: Aws::WAF::Errors::WAFReferencedItemException

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-waf/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ WAFReferencedItemException

Returns a new instance of WAFReferencedItemException.

Parameters:



271
272
273
# File 'lib/aws-sdk-waf/errors.rb', line 271

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)


276
277
278
# File 'lib/aws-sdk-waf/errors.rb', line 276

def message
  @message || @data[:message]
end