API Reference > ecschema-editing > Diagnostic > FormatDiagnosticReporter > reportDiagnostic reportDiagnostic MethodProtectedAbstract Handles the given IDiagnostic based on the implementation requirements for a given reporter. reportDiagnostic(diagnostic: AnyDiagnostic, messageText: string): void Parameter Type Description diagnostic AnyDiagnostic The diagnostic to report. messageText string The formatted message. Returns - void Defined in ecschema-editing/src/Validation/DiagnosticReporter.ts Line 124 Last Updated: 12 June, 2024