rollback

abstract fun rollback(): Nothing(source)

Abort the transaction by throwing SqkonRollbackException, rolling back the database transaction (and any enclosing one — there are no savepoints).

transaction swallows the exception, so a rollback there returns silently to the caller. transactionWithResult lets it propagate, since there is no value to return on rollback.