Class: Aws::MarketplaceMetering::Errors::InvalidUsageAllocationsException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidUsageAllocationsException.

Parameters:



239
240
241
# File 'lib/aws-sdk-marketplacemetering/errors.rb', line 239

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

Instance Method Details

#messageString

Returns:

  • (String)


244
245
246
# File 'lib/aws-sdk-marketplacemetering/errors.rb', line 244

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