Class: Aws::FSx::Errors::FileSystemNotFound

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) ⇒ FileSystemNotFound

Returns a new instance of FileSystemNotFound.

Parameters:



262
263
264
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 262

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

Instance Method Details

#messageString

Returns:

  • (String)


267
268
269
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/errors.rb', line 267

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