Class: Aws::WAFV2::Errors::WAFInvalidResourceException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::WAFV2::Errors::WAFInvalidResourceException
- Defined in:
- lib/aws-sdk-wafv2/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ WAFInvalidResourceException
constructor
A new instance of WAFInvalidResourceException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ WAFInvalidResourceException
Returns a new instance of WAFInvalidResourceException.
196 197 198 |
# File 'lib/aws-sdk-wafv2/errors.rb', line 196 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
201 202 203 |
# File 'lib/aws-sdk-wafv2/errors.rb', line 201 def @message || @data[:message] end |