Coloured error handling via a template.