Class: Aws::FSx::Errors::InvalidDataRepositoryType

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidDataRepositoryType.

Parameters:



327
328
329
# File 'lib/aws-sdk-fsx/errors.rb', line 327

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

Instance Method Details

#messageString

Returns:

  • (String)


332
333
334
# File 'lib/aws-sdk-fsx/errors.rb', line 332

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