API Reference > ecschema-editing > Diagnostic > diagnosticCategoryToString diagnosticCategoryToString Function Beta diagnosticCategoryToString(category: DiagnosticCategory): "Error" | "Warning" | "Message" | "Suggestion" Parameter Type Description category DiagnosticCategory Returns - "Error" | "Warning" | "Message" | "Suggestion" Defined in ecschema-editing/src/Validation/Diagnostic.ts Line 325 Last Updated: 12 June, 2024