Class: Aws::CloudFront::Errors::TooManyOriginCustomHeaders

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

Returns a new instance of TooManyOriginCustomHeaders.

Parameters:



1738
1739
1740
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1738

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

Instance Method Details

#messageString

Returns:

  • (String)


1743
1744
1745
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1743

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