import { FiatAccountSchemas } from '@fiatconnect/fiatconnect-types' export interface FiatAccountSchemaCountryOverrides { [country: string]: { [Schema in keyof Partial]: { [Property in keyof Partial]: { regex: string errorString: string errorParams?: Record } } } } export class FiatConnectTxError extends Error { txPossiblyPending: boolean error: any constructor(message: string, txPossiblyPending: boolean, error: any) { super(message) this.txPossiblyPending = txPossiblyPending this.error = error } }