Neither a departure from the form or mode prescribed in this chapter in respect to any pleadings or proceedings, nor an error or mistake therein, renders it invalid, unless it has actually prejudiced the defendant or tended to his prejudice, in respect to a substantial right.
Okla. Stat. tit. 22, § 1273