An error in a ruling of the court shall be disregarded if a substantial right of a party is not prejudiced.
N.Y. CPLR 2002