Initial
This commit is contained in:
27
resources/app/node_modules/@smithy/service-error-classification/dist-es/constants.js
generated
vendored
Normal file
27
resources/app/node_modules/@smithy/service-error-classification/dist-es/constants.js
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
export const CLOCK_SKEW_ERROR_CODES = [
|
||||
"AuthFailure",
|
||||
"InvalidSignatureException",
|
||||
"RequestExpired",
|
||||
"RequestInTheFuture",
|
||||
"RequestTimeTooSkewed",
|
||||
"SignatureDoesNotMatch",
|
||||
];
|
||||
export const THROTTLING_ERROR_CODES = [
|
||||
"BandwidthLimitExceeded",
|
||||
"EC2ThrottledException",
|
||||
"LimitExceededException",
|
||||
"PriorRequestNotComplete",
|
||||
"ProvisionedThroughputExceededException",
|
||||
"RequestLimitExceeded",
|
||||
"RequestThrottled",
|
||||
"RequestThrottledException",
|
||||
"SlowDown",
|
||||
"ThrottledException",
|
||||
"Throttling",
|
||||
"ThrottlingException",
|
||||
"TooManyRequestsException",
|
||||
"TransactionInProgressException",
|
||||
];
|
||||
export const TRANSIENT_ERROR_CODES = ["TimeoutError", "RequestTimeout", "RequestTimeoutException"];
|
||||
export const TRANSIENT_ERROR_STATUS_CODES = [500, 502, 503, 504];
|
||||
export const NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "ECONNREFUSED", "EPIPE", "ETIMEDOUT"];
|
||||
Reference in New Issue
Block a user