getOrThrow
//fluxbase-kotlin/io.github.nimbleflux.fluxbase/getOrThrow
getOrThrow
Section titled “getOrThrow”[jvm]
fun <T> FluxbaseResponse<T>.getOrThrow(): T
Returns the data on success, or throws the error on failure.
//fluxbase-kotlin/io.github.nimbleflux.fluxbase/getOrThrow
[jvm]
fun <T> FluxbaseResponse<T>.getOrThrow(): T
Returns the data on success, or throws the error on failure.