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:



2381
2382
2383
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2381

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

Instance Method Details

#messageString

Returns:

  • (String)


2386
2387
2388
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2386

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