Handle YUI errors