update error handle

This commit is contained in:
2026-02-16 17:40:21 +03:00
parent b47bba9e22
commit d64f2b5b8f
7 changed files with 61 additions and 13 deletions

View File

@@ -48,7 +48,7 @@ class ScheduleRepositoryImpl @Inject constructor(
}
is NetworkResult.Error -> {
emit(DataResult.Error(Throwable(networkResult.error.toString())))
emit(DataResult.Error(networkResult.error.toAppError()))
return@flow
}
}