Error messages: delayed rendering with templating

@ingluisjimenez I like it