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