sdk-common / com.tomtom.online.sdk.common.functional / Try / get

get

abstract fun get(): T

Returns success value or in case of failure throws a Throwable wrapped in a RuntimeException.

Exceptions

RuntimeException - if this is a Failure.

Return
T: value stored in the Success.