resolveErr

fun resolveErr(error: E)

Convenience method to resolve a promise with an error.