@aws-amplify/core
Version:
Core category of aws-amplify
10 lines (9 loc) • 322 B
TypeScript
/**
* Given an error code, returns true if it is related to a clock skew error.
*
* @param errorCode String representation of some error.
* @returns True if given error is present in `CLOCK_SKEW_ERROR_CODES`, false otherwise.
*
* @internal
*/
export declare const isClockSkewError: (errorCode?: string) => boolean;