Update data in response of SugarApiExceptionEditConflict

We want to show custom data for selection on click of Save button. We have our logic in before_save logic hook. We are trying to throw SugarApiExceptionEditConflict but not able to pass data which we want to show for selection. Is any one know how to show custom data for selection in Edit Conflict drawer?