Remove spurious `er.code =` assignments.

They literally do nothing in all cases.