We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfbb06e commit d2d0401Copy full SHA for d2d0401
domain/src/main/java/com/hoc/flowmvi/domain/model/UserError.kt
@@ -2,7 +2,7 @@ package com.hoc.flowmvi.domain.model
2
3
import arrow.core.NonEmptySet
4
5
-sealed class UserError : Throwable() {
+sealed class UserError : RuntimeException() {
6
data object NetworkError : UserError() {
7
private fun readResolve(): Any = NetworkError
8
}
0 commit comments