Paulius Ruminas
03/05/2019, 2:14 PMsealed class Error {
@Serializable
data class Fatal(val message: String) : Error()
@Serializable
object Unauthorized: Error()
@Serializable
object Forbidden: Error()
}
It does not throw an error but it is not the same object if i deserialize it multiple times.sandwwraith
03/07/2019, 10:28 AMPaulius Ruminas
03/07/2019, 11:02 AM