initial commit
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
import { isClockSkewError, isRetryableByTrait, isThrottlingError, isTransientError, } from "@smithy/service-error-classification";
|
||||
export const defaultRetryDecider = (error) => {
|
||||
if (!error) {
|
||||
return false;
|
||||
}
|
||||
return isRetryableByTrait(error) || isClockSkewError(error) || isThrottlingError(error) || isTransientError(error);
|
||||
};
|
||||
Reference in New Issue
Block a user