export type CardScanError = { message: string; type: string; code: number; isCardScanError: boolean; };