throws

infix fun <T> AnsweringScope<T>.throws(error: Throwable)

Function call always throws error.