Error handling for Yogurt added; reverts to regular error handler if it is not Yogurt-related.