Error messages: delayed rendering with templating

shouldn't there be a `const REQUIRED_PARAM_COUNT` if it's using `_extractContextParameters` ?