Class: Aws::ECS::Errors::UnsupportedFeatureException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of UnsupportedFeatureException.

Parameters:



513
514
515
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/errors.rb', line 513

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

Instance Method Details

#message ⇒ String

Returns:

  • (String)


518
519
520
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/errors.rb', line 518

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