asFailure

inline fun <F, S> F.asFailure(data: S? = null, isLoading: Boolean = false): ResourceEither<F, S>

Transform this in Failure