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