IviServiceFunResult

fun <V> IviServiceFunResult(value: V?)

Creates a successful function call result.

Parameters

value

The return value of the function, if any.


fun IviServiceFunResult(resultType: IviServiceFunResult.ResultType, exception: Exception? = null)

Creates a non-successful function call result.

Parameters

resultType

The type of result.

exception

The exception that was thrown, if any.