Generalized error message partial