resourceFailure

fun <F, S> resourceFailure(failure: F, data: S? = null, isLoading: Boolean = false): ResourceEither<F, S>