Skip to content

Instantly share code, notes, and snippets.

@ferPrieto
Last active June 30, 2020 22:09
Embed
What would you like to do?
This is the first solution implemented to find the ErrorCode by qualifiedName
else -> if ((type.classifier as KClass<out Any>).qualifiedName == "sctestingplayground.ErrorCode") ErrorCode.TimeOut else null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment