Updated the set_error() method to the new design.
Authored by: bugman 2008-05-21
Parent: [r6230]
Child: [r6232]