Class: Aws::CloudFront::Errors::FunctionAlreadyExists
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::FunctionAlreadyExists
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ FunctionAlreadyExists
constructor
A new instance of FunctionAlreadyExists.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ FunctionAlreadyExists
Returns a new instance of FunctionAlreadyExists.
521 522 523 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 521 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
526 527 528 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 526 def @message || @data[:message] end |