onTransactionFailed

public void onTransactionFailed(Error cause, EntityRecord entityRecord)

A callback invoked if the commit has failed.

Notifies the EntityLifecycle of the failure.


public void onTransactionFailed(Event cause, EntityRecord entityRecord)

A callback invoked if the commit has failed due to a Rejection.

Parameters

cause

the rejection which caused the commit failure

entityRecord

the uncommitted entity state