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:



1086
1087
1088
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1086

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

Instance Method Details

#messageString

Returns:

  • (String)


1091
1092
1093
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1091

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