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:



1617
1618
1619
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1617

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

Instance Method Details

#messageString

Returns:

  • (String)


1622
1623
1624
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1622

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