AWS SDK for C++  1.7.209
AWS SDK for C++
GameLiftErrors.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 
16 #pragma once
17 
20 
21 namespace Aws
22 {
23 namespace GameLift
24 {
25 enum class GameLiftErrors
26 {
27  //From Core//
30  INTERNAL_FAILURE = 1,
31  INVALID_ACTION = 2,
36  MISSING_ACTION = 7, // SDK should never allow
37  MISSING_AUTHENTICATION_TOKEN = 8, // SDK should never allow
38  MISSING_PARAMETER = 9, // SDK should never allow
39  OPT_IN_REQUIRED = 10,
40  REQUEST_EXPIRED = 11,
42  THROTTLING = 13,
43  VALIDATION = 14,
44  ACCESS_DENIED = 15,
45  RESOURCE_NOT_FOUND = 16,
48  SLOW_DOWN = 19,
50  INVALID_SIGNATURE = 21,
53  REQUEST_TIMEOUT = 24,
54  NETWORK_CONNECTION = 99,
55 
56  UNKNOWN = 100,
58 
68  NOT_FOUND,
72 };
73 namespace GameLiftErrorMapper
74 {
76 }
77 
78 } // namespace GameLift
79 } // namespace Aws
#define AWS_GAMELIFT_API
AWS_GAMELIFT_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)