resolvedPromiseErr

fun <V, E> resolvedPromiseErr(thread: ThreadRef, error: E): Future<V, E>

Returns a Future which has already resolved with an error.