can set color of error messages based on the context, success, error or information