Any error, defect, irregularity, or variance which does not affect substantial rights shall be disregarded.
SDCL 23A-44-14