https://kotlinlang.org logo
#moko
Title
r

rrva

05/09/2022, 12:17 PM
When using enums/sealed classes for error handling in combination with generics, it is sometimes hard to create an instance of an enum/sealed class dynamically. When using multiplatform reflection is forbidden. How would you create such a error object dynamically?
a

alex009

05/11/2022, 4:23 PM
hi. can you show example? i can't understand now what you mean
4 Views