Java/Kotlin interop result wrapper for use in function overrides between Java and Kotlin. Can be converted to/from kotlin.Result and used in both languages.