Class: Aws::WAFRegional::Errors::WAFDisallowedNameException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::WAFRegional::Errors::WAFDisallowedNameException
- Defined in:
- lib/aws-sdk-wafregional/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ WAFDisallowedNameException
constructor
A new instance of WAFDisallowedNameException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ WAFDisallowedNameException
Returns a new instance of WAFDisallowedNameException.
77 78 79 |
# File 'lib/aws-sdk-wafregional/errors.rb', line 77 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
82 83 84 |
# File 'lib/aws-sdk-wafregional/errors.rb', line 82 def @message || @data[:message] end |