- Enhanced error handling in various API client services by integrating `redactForLogs` for sensitive data protection in logs. - Updated date formatting across multiple components and services to utilize `formatIsoDate` and `formatIsoRelative`, improving consistency and readability. - Removed unused imports and optimized code structure for better maintainability. - Streamlined retry logic in the Freebit and WHMCS services to improve resilience and error management during API requests.
22 lines
370 B
TypeScript
22 lines
370 B
TypeScript
export { cn } from "./cn";
|
|
export {
|
|
formatIsoDate,
|
|
formatIsoRelative,
|
|
formatIsoMonthDay,
|
|
isSameDay,
|
|
isToday,
|
|
isYesterday,
|
|
type FormatDateFallbackOptions,
|
|
} from "./date";
|
|
export {
|
|
parseError,
|
|
getErrorMessage,
|
|
shouldLogout,
|
|
canRetry,
|
|
getErrorCode,
|
|
ErrorCode,
|
|
ErrorMessages,
|
|
type ParsedError,
|
|
type ErrorCodeType,
|
|
} from "./error-handling";
|