withThrowOnErrorHandler

Creates a ComponentTree that will propagate exceptions.

val componentTree = lithoViewRule.withThrowOnErrorHandler()
val lithoView = lithoViewRule.render(componentTree = componentTree)