Error messages: delayed rendering with templating

doc should be updated:
`@param string $delimiter` should be `@param array $context`.

Also, as this is public, I would rename $key to $field for documentation purposes makes a bit more sense.