Skip to content

Commit 75cd258

Browse files
authored
chore(service-error-classification): alphabetically order THROTTLING_ERROR_CODES (#1689)
1 parent d6fb1f6 commit 75cd258

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

packages/service-error-classification/src/constants.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@ export const CLOCK_SKEW_ERROR_CODES = [
2020
* These errors are always retryable.
2121
*/
2222
export const THROTTLING_ERROR_CODES = [
23-
"Throttling",
24-
"ThrottlingException",
25-
"ThrottledException",
26-
"RequestThrottledException",
27-
"TooManyRequestsException",
28-
"ProvisionedThroughputExceededException",
29-
"TransactionInProgressException",
30-
"RequestLimitExceeded",
3123
"BandwidthLimitExceeded",
24+
"EC2ThrottledException",
3225
"LimitExceededException",
26+
"PriorRequestNotComplete",
27+
"ProvisionedThroughputExceededException",
28+
"RequestLimitExceeded",
3329
"RequestThrottled",
30+
"RequestThrottledException",
3431
"SlowDown",
35-
"PriorRequestNotComplete",
36-
"EC2ThrottledException",
32+
"ThrottledException",
33+
"Throttling",
34+
"ThrottlingException",
35+
"TooManyRequestsException",
36+
"TransactionInProgressException", // DynamoDB
3737
];
3838

3939
/**

0 commit comments

Comments
 (0)