API Reference > ecschema-metadata > Diagnostic > diagnosticTypeToString diagnosticTypeToString Function Deprecated Moved to the ecschema-editing package. Beta diagnosticTypeToString(type: DiagnosticType): "CustomAttributeContainer" | "None" | "Property" | "RelationshipConstraint" | "Schema" | "SchemaItem" Parameter Type Description type DiagnosticType Returns - "CustomAttributeContainer" | "None" | "Property" | "RelationshipConstraint" | "Schema" | "SchemaItem" Defined in core/ecschema-metadata/src/Validation/Diagnostic.ts Line 368 Last Updated: 11 June, 2024