Class: Aws::CloudFront::Errors::NoSuchFunctionExists

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

Returns a new instance of NoSuchFunctionExists.

Parameters:



1182
1183
1184
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1182

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

Instance Method Details

#messageString

Returns:

  • (String)


1187
1188
1189
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1187

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