error

fun <T> error(failure: Throwable): Resource<T>