diff --git a/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched/model/ContributorsRepository.kt b/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched/model/ContributorsRepository.kt index 66c78ee10..a1509c9b5 100644 --- a/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched/model/ContributorsRepository.kt +++ b/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched/model/ContributorsRepository.kt @@ -8,7 +8,7 @@ import kotlin.coroutines.cancellation.CancellationException interface ContributorsRepository { - @Throws(CancellationException::class) + @Throws(AppError::class, CancellationException::class) suspend fun refresh() @Composable diff --git a/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched/model/EventMapRepository.kt b/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched/model/EventMapRepository.kt index 5ca1b38b9..3ce0276ef 100644 --- a/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched/model/EventMapRepository.kt +++ b/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched/model/EventMapRepository.kt @@ -8,7 +8,7 @@ import kotlin.coroutines.cancellation.CancellationException interface EventMapRepository { - @Throws(CancellationException::class) + @Throws(AppError::class, CancellationException::class) suspend fun refresh() @Composable diff --git a/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched/model/SponsorsRepository.kt b/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched/model/SponsorsRepository.kt index bea88cb6e..4e2780059 100644 --- a/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched/model/SponsorsRepository.kt +++ b/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched/model/SponsorsRepository.kt @@ -9,7 +9,7 @@ import kotlin.coroutines.cancellation.CancellationException public interface SponsorsRepository { public fun getSponsorStream(): Flow> - @Throws(CancellationException::class) + @Throws(AppError::class, CancellationException::class) public suspend fun refresh() @Composable diff --git a/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched/model/StaffRepository.kt b/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched/model/StaffRepository.kt index b088b477c..542db9cf6 100644 --- a/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched/model/StaffRepository.kt +++ b/core/model/src/commonMain/kotlin/io/github/droidkaigi/confsched/model/StaffRepository.kt @@ -10,7 +10,7 @@ interface StaffRepository { public fun staffs(): Flow> - @Throws(CancellationException::class) + @Throws(AppError::class, CancellationException::class) public suspend fun refresh() @Composable