Class: Aws::CloudFront::Errors::TestFunctionFailed
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::TestFunctionFailed
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TestFunctionFailed
constructor
A new instance of TestFunctionFailed.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TestFunctionFailed
Returns a new instance of TestFunctionFailed.
1602 1603 1604 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1602 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
1607 1608 1609 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1607 def @message || @data[:message] end |