abstract fun thrownError(f: Assert<Throwable>.() -> Unit): Unit
Platform and version requirements: Common
Runs the given lambda if the block throws an error, otherwise fails.