Class: Aws::EFS::Errors::InternalServerError

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InternalServerError.

Parameters:



364
365
366
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/errors.rb', line 364

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

Instance Method Details

#error_codeString

Returns:

  • (String)


369
370
371
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/errors.rb', line 369

def error_code
  @data[:error_code]
end

#messageString

Returns:

  • (String)


374
375
376
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/errors.rb', line 374

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