This is a replacement for RazorError, is conceptually equivalent with Diagnostic from Roslyn. The next PR will start exposing this through our public API rather than the legacy type.