"Print directive '" + directiveName + "' used with the wrong number of" +
" arguments (tag " + node.toSourceString() + ").");
}
try {
return directive.apply(value, args);
} catch (RuntimeException e) {
throw new RenderException(String.format(
"Failed in applying directive '%s' in tag \"%s\" due to exception: %s",
directiveName, node.toSourceString(), e.getMessage()));