going back to pear errors. exceptions dont work in this library