onTransactionFailed

public abstract void onTransactionFailed(Error cause, EntityRecord entityRecord)

A callback invoked if the commit has failed.

Parameters

cause

the error which caused the commit failure

entityRecord

the uncommitted entity state


public abstract 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