Class: Aws::MarketplaceCommerceAnalytics::Errors::MarketplaceCommerceAnalyticsException

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-marketplacecommerceanalytics/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ MarketplaceCommerceAnalyticsException

Returns a new instance of MarketplaceCommerceAnalyticsException.

Parameters:



43
44
45
# File 'lib/aws-sdk-marketplacecommerceanalytics/errors.rb', line 43

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

Instance Method Details

#messageString

Returns:

  • (String)


48
49
50
# File 'lib/aws-sdk-marketplacecommerceanalytics/errors.rb', line 48

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