buildResourceFailure

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