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