expectErrorType

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