lib/aws-sdk-gamelift/errors.rb in aws-sdk-gamelift-1.76.0 vs lib/aws-sdk-gamelift/errors.rb in aws-sdk-gamelift-1.77.0
- old
+ new
@@ -35,10 +35,11 @@
# * {InvalidFleetStatusException}
# * {InvalidGameSessionStatusException}
# * {InvalidRequestException}
# * {LimitExceededException}
# * {NotFoundException}
+ # * {NotReadyException}
# * {OutOfCapacityException}
# * {TaggingFailedException}
# * {TerminalRoutingStrategyException}
# * {UnauthorizedException}
# * {UnsupportedRegionException}
@@ -187,9 +188,24 @@
class NotFoundException < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
# @param [Aws::GameLift::Types::NotFoundException] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+ end
+
+ class NotReadyException < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::GameLift::Types::NotReadyException] data
def initialize(context, message, data = Aws::EmptyStructure.new)
super(context, message, data)
end
# @return [String]