Payment Error Message and Beneficiary Page
This commit is contained in:
@@ -21,8 +21,8 @@ class NeftService {
|
||||
throw Exception(
|
||||
'NEFT transaction failed with status code: ${response.statusCode}');
|
||||
}
|
||||
} on DioException catch (e) {
|
||||
throw Exception('Failed to process NEFT transaction: ${e.message}');
|
||||
} on DioException {
|
||||
rethrow;
|
||||
} catch (e) {
|
||||
throw Exception('An unexpected error occurred: ${e.toString()}');
|
||||
}
|
||||
|
Reference in New Issue
Block a user