Class: Aws::CloudFront::Errors::NoSuchResponseHeadersPolicy
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::NoSuchResponseHeadersPolicy
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NoSuchResponseHeadersPolicy
constructor
A new instance of NoSuchResponseHeadersPolicy.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NoSuchResponseHeadersPolicy
Returns a new instance of NoSuchResponseHeadersPolicy.
1301 1302 1303 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1301 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
1306 1307 1308 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1306 def @message || @data[:message] end |