hasErrorId

fun <T> Assert<AsyncResult<T>>.hasErrorId(expected: ErrorId)

Asserts the AsyncResult has the given ErrorId if it's an Error, checking via extension.