diff options
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index 9d95f1ee2..5ff906faa 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -904,6 +904,10 @@ export enum ExchangeEntryStatus { Ok = "ok", } +export interface OperationErrorInfo { + error: TalerErrorDetail; +} + // FIXME: This should probably include some error status. export interface ExchangeListItem { exchangeBaseUrl: string; @@ -917,6 +921,12 @@ export interface ExchangeListItem { * temporarily queried. */ permanent: boolean; + + /** + * Information about the last error that occured when trying + * to update the exchange info. + */ + lastUpdateErrorInfo?: OperationErrorInfo; } const codecForAuditorDenomSig = (): Codec<AuditorDenomSig> => |