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.
1506 1507 1508 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1506 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
1511 1512 1513 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1511 def @message || @data[:message] end |