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:



1933
1934
1935
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1933

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

Instance Method Details

#messageString

Returns:

  • (String)


1938
1939
1940
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1938

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