Class: Aws::ECS::Errors::ServiceNotActiveException

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

Returns a new instance of ServiceNotActiveException.

Parameters:



438
439
440
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/errors.rb', line 438

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

Instance Method Details

#message ⇒ String

Returns:

  • (String)


443
444
445
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/errors.rb', line 443

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