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.
306 307 308 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 306 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
311 312 313 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 311 def @message || @data[:message] end |