AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LambdaErrors.h
1
6#pragma once
7
8#include <aws/core/client/AWSError.h>
9#include <aws/core/client/CoreErrors.h>
10#include <aws/lambda/Lambda_EXPORTS.h>
11
12namespace Aws
13{
14namespace Lambda
15{
16enum class LambdaErrors
17{
18 //From Core//
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,
39 SLOW_DOWN = 19,
44 REQUEST_TIMEOUT = 24,
46
47 UNKNOWN = 100,
49
50 CODE_SIGNING_CONFIG_NOT_FOUND= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
79 SERVICE,
86};
87
88class AWS_LAMBDA_API LambdaError : public Aws::Client::AWSError<LambdaErrors>
89{
90public:
94 LambdaError(const Aws::Client::AWSError<LambdaErrors>& rhs) : Aws::Client::AWSError<LambdaErrors>(rhs) {}
96
97 template <typename T>
99};
100
101namespace LambdaErrorMapper
102{
104}
105
106} // namespace Lambda
107} // namespace Aws
LambdaError(const Aws::Client::AWSError< LambdaErrors > &rhs)
LambdaError(Aws::Client::AWSError< LambdaErrors > &&rhs)
LambdaError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
LambdaError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
AWS_LAMBDA_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)