UNPKG

@smithy/service-error-classification

Version:

[![NPM version](https://img.shields.io/npm/v/@smithy/service-error-classification/latest.svg)](https://www.npmjs.com/package/@smithy/service-error-classification) [![NPM downloads](https://img.shields.io/npm/dm/@smithy/service-error-classification.svg)](h

27 lines (26 loc) 749 B
/** * Errors encountered when the client clock and server clock cannot agree on the * current time. * * These errors are retryable, assuming the SDK has enabled clock skew * correction. */ export declare const CLOCK_SKEW_ERROR_CODES: string[]; /** * Errors that indicate the SDK is being throttled. * * These errors are always retryable. */ export declare const THROTTLING_ERROR_CODES: string[]; /** * Error codes that indicate transient issues */ export declare const TRANSIENT_ERROR_CODES: string[]; /** * Error codes that indicate transient issues */ export declare const TRANSIENT_ERROR_STATUS_CODES: number[]; /** * Node.js system error codes that indicate timeout. */ export declare const NODEJS_TIMEOUT_ERROR_CODES: string[];