formated error message