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

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-fsx/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:



310
311
312
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 310

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

Instance Method Details

#messageString

Returns:

  • (String)


315
316
317
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 315

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