ktor-client-tests / io.ktor.client.tests.utils / assertFailsAndContainsCause

assertFailsAndContainsCause

inline expect fun <reified T : Throwable> assertFailsAndContainsCause(block: () -> Unit): Unit

Asserts that block completed with given type of root cause.