Error handling on div yield.