Added the template for error messages