Class: Aws::CloudFront::Errors::NoSuchResponseHeadersPolicy

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-cloudfront/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NoSuchResponseHeadersPolicy

Returns a new instance of NoSuchResponseHeadersPolicy.

Parameters:


1070
1071
1072
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1070

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)

1075
1076
1077
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1075

def message
  @message || @data[:message]
end