private TemplateCompilationException ( |
||
errors | The collection of compilation errors. | |
return | System |
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);
}