isErrorWithThrowable

fun <T> Assert<AsyncResult<T>>.isErrorWithThrowable(): Assert<Throwable>

Asserts the AsyncResult is an Error with a non-null throwable and returns it.