Class: Aws::ECS::Errors::ServerException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ECS::Errors::ServerException
- Defined in:
- lib/aws-sdk-ecs/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServerException
constructor
A new instance of ServerException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServerException
Returns a new instance of ServerException.
258 259 260 |
# File 'lib/aws-sdk-ecs/errors.rb', line 258 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
263 264 265 |
# File 'lib/aws-sdk-ecs/errors.rb', line 263 def @message || @data[:message] end |