expectErrorType

open fun <E : Throwable> expectErrorType(expected: KClass<E>): AE
open fun <E : Throwable> expectErrorType(expected: Class<E>): AE