refactor: format

This commit is contained in:
edde746
2025-11-16 23:57:32 +01:00
parent a6927f0edf
commit 9501831691
20 changed files with 244 additions and 282 deletions
+1 -4
View File
@@ -22,8 +22,5 @@ String mapDioErrorToMessage(DioException error, {required String context}) {
/// Generic fallback for unexpected errors.
String mapUnexpectedErrorToMessage(dynamic error, {required String context}) {
appLogger.e('Unexpected error in $context', error: error);
return t.errors.failedToLoad(
context: context,
error: error.toString(),
);
return t.errors.failedToLoad(context: context, error: error.toString());
}