Class: Aws::CloudFront::Errors::TrustedKeyGroupDoesNotExist

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

Returns a new instance of TrustedKeyGroupDoesNotExist.

Parameters:


2045
2046
2047
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2045

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

Instance Method Details

#messageString

Returns:

  • (String)

2050
2051
2052
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2050

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