Skip to content

Commit

Permalink
Make message in FormError nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek2010 committed May 5, 2023
1 parent a1e742b commit 5639a57
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import kotlinx.android.parcel.Parcelize

@Parcelize
sealed class FormError : Parcelable {
abstract val message: String
abstract val message: String?

data class NonFatal(override val message: String) : FormError()
data class NonFatal(override val message: String?) : FormError()

data class Fatal(override val message: String) : FormError()
data class Fatal(override val message: String?) : FormError()
}

0 comments on commit 5639a57

Please sign in to comment.