Error messages: delayed rendering with templating

```