Class: Aws::CloudFront::Errors::TooManyResponseHeadersPolicies

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) ⇒ TooManyResponseHeadersPolicies

Returns a new instance of TooManyResponseHeadersPolicies.

Parameters:



2241
2242
2243
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2241

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

Instance Method Details

#messageString

Returns:

  • (String)


2246
2247
2248
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2246

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