Funding fixes - #2270
Conversation
|
Claude finished @i5hi's task in 3m 8s —— View job Code Review: Funding fixes
Overall this is a clean, well-structured improvement to error handling for the funding flow. The error-code → localized-message mapping is consistent, and the loading/error lifecycle in the bloc is handled correctly ( Findings1. Raw backend message shown to the user (i18n) — minor String displayMessage(AppLocalizations loc) => emptyList
? loc.fundExchangeErrorFetchingBankCodes
: (message.isNotEmpty ? message : loc.fundExchangeErrorLoadingDetails);When 2. emit(state.copyWith(
getExchangeFundingDetailsException: null,
listFundingInstitutionsException: null, // now always cleared
fundingInstitutions: event.resetInstitutions ? null : state.fundingInstitutions,
));The COP screen caller at 3. Redundant empty-institutions check — minor Things I checked that look correct
|
|
closed in favor of #2272 |
Handles KYC related errors and unique response bodies for specific jurisdictions