setRollbackHook

abstract fun setRollbackHook(handler: RollbackHook?)(source)

Sets the callback that get invoked whenever a transaction is rolled back.

Throws

if setting the handler fails.