Hi, I'm finally upgrading from Kotlin 1.3 to 1.4, ...
# serialization
m
Hi, I'm finally upgrading from Kotlin 1.3 to 1.4, and kotlinx.serialization from 0.20 to 1.0.1 at the same time. I was relying on
JsonDecodingException
and
MissingFieldException
being visible to slightly alter my error messages. They're now internal (defined here: https://github.com/Kotlin/kotlinx.serialization/blob/v1.0.1/core/commonMain/src/kotlinx/serialization/SerializationException.kt). Is there a way to get that distinction post 0.20?
The change was made in https://github.com/Kotlin/kotlinx.serialization/pull/880 and afaik there's just no new way to do that, but just double-checking