Class: Aws::CloudFront::Errors::TooLongCSPInResponseHeadersPolicy

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

Returns a new instance of TooLongCSPInResponseHeadersPolicy.

Parameters:



1601
1602
1603
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1601

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

Instance Method Details

#messageString

Returns:

  • (String)


1606
1607
1608
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1606

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