AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
BatchErrors.h
1
6#pragma once
7
8#include <aws/batch/Batch_EXPORTS.h>
9#include <aws/core/client/AWSError.h>
10#include <aws/core/client/CoreErrors.h>
11
12namespace Aws {
13namespace Batch {
14enum class BatchErrors {
15 // From Core//
24 MISSING_ACTION = 7, // SDK should never allow
25 MISSING_AUTHENTICATION_TOKEN = 8, // SDK should never allow
26 MISSING_PARAMETER = 9, // SDK should never allow
27 OPT_IN_REQUIRED = 10,
28 REQUEST_EXPIRED = 11,
30 THROTTLING = 13,
31 VALIDATION = 14,
32 ACCESS_DENIED = 15,
36 SLOW_DOWN = 19,
41 REQUEST_TIMEOUT = 24,
43
44 UNKNOWN = 100,
46
47 CLIENT = static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
48 SERVER
49};
50
51class AWS_BATCH_API BatchError : public Aws::Client::AWSError<BatchErrors> {
52 public:
56 BatchError(const Aws::Client::AWSError<BatchErrors>& rhs) : Aws::Client::AWSError<BatchErrors>(rhs) {}
58
59 template <typename T>
61};
62
63namespace BatchErrorMapper {
65}
66
67} // namespace Batch
68} // namespace Aws
BatchError(const Aws::Client::AWSError< Aws::Client::CoreErrors > &rhs)
Definition BatchErrors.h:54
BatchError(Aws::Client::AWSError< Aws::Client::CoreErrors > &&rhs)
Definition BatchErrors.h:55
BatchError(const Aws::Client::AWSError< BatchErrors > &rhs)
Definition BatchErrors.h:56
BatchError(Aws::Client::AWSError< BatchErrors > &&rhs)
Definition BatchErrors.h:57
AWS_BATCH_API Aws::Client::AWSError< Aws::Client::CoreErrors > GetErrorForName(const char *errorName)