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?
4 months ago
hi. can you show example? i can't understand now what you mean