internal TemplateCompilationException(CompilerErrorCollection errors)
: base("Unable to compile template. Check the Errors list for details.")
{
var list = errors.Cast<CompilerError>().ToList();
Errors = new ReadOnlyCollection<CompilerError>(list);
}