Class: Aws::CloudFront::Errors::NoSuchFunctionExists
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::NoSuchFunctionExists
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NoSuchFunctionExists
constructor
A new instance of NoSuchFunctionExists.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NoSuchFunctionExists
Returns a new instance of NoSuchFunctionExists.
1199 1200 1201 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1199 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
1204 1205 1206 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1204 def @message || @data[:message] end |