No judgment, verdict, or decision shall be set aside, reversed, or new trial granted, in any criminal proceedings, for error as to any matter of pleading, unless in the opinion of the supreme court, after an examination of the entire cause, it shall appear that the error complained of has resulted in a miscarriage of justice.
R.I. Gen. Laws § 12-22-13