Class: Aws::WAFRegional::Errors::WAFNonEmptyEntityException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of WAFNonEmptyEntityException.

Parameters:



227
228
229
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/errors.rb', line 227

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

Instance Method Details

#messageString

Returns:

  • (String)


232
233
234
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/errors.rb', line 232

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