Skip to content

Commit 00b0360

Browse files
Merge pull request aws#9 from ianton-ru/yandex_s3_throttling
Add 'TooManyRequestsException' error code to known list in CoreErrorsMapper
2 parents 06aa875 + b8ff2ca commit 00b0360

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

aws-cpp-sdk-core/source/client/CoreErrors.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ void CoreErrorsMapper::InitCoreErrorsMapper()
6969
s_CoreErrorsMapper->emplace("ThrottlingException", AWSError<CoreErrors>(CoreErrors::THROTTLING, true));
7070
s_CoreErrorsMapper->emplace("ThrottledException", AWSError<CoreErrors>(CoreErrors::THROTTLING, true));
7171
s_CoreErrorsMapper->emplace("Throttling", AWSError<CoreErrors>(CoreErrors::THROTTLING, true));
72+
s_CoreErrorsMapper->emplace("TooManyRequestsException", AWSError<CoreErrors>(CoreErrors::THROTTLING, true));
7273
s_CoreErrorsMapper->emplace("ValidationErrorException", AWSError<CoreErrors>(CoreErrors::VALIDATION, false));
7374
s_CoreErrorsMapper->emplace("ValidationException", AWSError<CoreErrors>(CoreErrors::VALIDATION, false));
7475
s_CoreErrorsMapper->emplace("ValidationError", AWSError<CoreErrors>(CoreErrors::VALIDATION, false));

0 commit comments

Comments
 (0)