formated error divs