failure

fun <T> failure(throwable: Throwable): ResultCompat<T>(source)

Returns an instance that encapsulates the given Throwable as failure.

Since

0.0.7