on Transaction Failed
A callback invoked if the commit has failed.
Parameters
cause
the error which caused the commit failure
entity Record
the uncommitted entity state
A callback invoked if the commit has failed due to a Rejection.
Parameters
cause
the rejection which caused the commit failure
entity Record
the uncommitted entity state