color format the errors