Class: Aws::CloudFront::Errors::InvalidResponseCode
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::InvalidResponseCode
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidResponseCode
constructor
A new instance of InvalidResponseCode.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidResponseCode
Returns a new instance of InvalidResponseCode.
956 957 958 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 956 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
961 962 963 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 961 def @message || @data[:message] end |