AWS SDK for C++  1.8.99
AWS SDK for C++
SupportErrors.h
Go to the documentation of this file.
1 
6 #pragma once
7 
11 
12 namespace Aws
13 {
14 namespace Support
15 {
16 enum class SupportErrors
17 {
18  //From Core//
21  INTERNAL_FAILURE = 1,
22  INVALID_ACTION = 2,
27  MISSING_ACTION = 7, // SDK should never allow
28  MISSING_AUTHENTICATION_TOKEN = 8, // SDK should never allow
29  MISSING_PARAMETER = 9, // SDK should never allow
30  OPT_IN_REQUIRED = 10,
31  REQUEST_EXPIRED = 11,
33  THROTTLING = 13,
34  VALIDATION = 14,
35  ACCESS_DENIED = 15,
36  RESOURCE_NOT_FOUND = 16,
39  SLOW_DOWN = 19,
41  INVALID_SIGNATURE = 21,
44  REQUEST_TIMEOUT = 24,
45  NETWORK_CONNECTION = 99,
46 
47  UNKNOWN = 100,
49 
58 };
59 
60 class AWS_SUPPORT_API SupportError : public Aws::Client::AWSError<SupportErrors>
61 {
62 public:
66  SupportError(const Aws::Client::AWSError<SupportErrors>& rhs) : Aws::Client::AWSError<SupportErrors>(rhs) {}
68 
69  template <typename T>
70  T GetModeledError();
71 };
72 
73 namespace SupportErrorMapper
74 {
76 }
77 
78 } // namespace Support
79 } // namespace Aws
SupportError(Aws::Client::AWSError< SupportErrors > &&rhs)
Definition: SupportErrors.h:67
AWS_SUPPORT_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)
SupportError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition: SupportErrors.h:65
SupportError(const Aws::Client::AWSError< SupportErrors > &rhs)
Definition: SupportErrors.h:66
#define AWS_SUPPORT_API
SupportError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition: SupportErrors.h:64