report

inline fun report(block: () -> Unit)

Runs block, which calls a caller's callback while a pass applies - from init, update, set, reconcile or reconcileWithChildren. A throw out of block goes unchanged to the current thread's uncaught-exception handler and this function returns normally, so the pass goes on applying.

Keep the component's own checks outside block, so their failures reach the caller.

Parameters

block

calls the caller's callback.