Error messages: delayed rendering with templating

While I'm not sure it's exactly following the decorator pattern, I think it works and can't propose anything that would fit better. :+1: from me.