Class: Aws::ImportExport::Errors::InvalidVersionException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidVersionException.

Parameters:



227
228
229
# File 'lib/aws-sdk-importexport/errors.rb', line 227

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

Instance Method Details

#messageString

Returns:

  • (String)


232
233
234
# File 'lib/aws-sdk-importexport/errors.rb', line 232

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