API Reference > ecschema-editing > Diagnostic > createSchemaDiagnosticClass createSchemaDiagnosticClass Function Beta Helper method for creating SchemaDiagnostic child classes. createSchemaDiagnosticClass<ARGS extends any[]>(code: string, messageText: string): undefined Parameter Type Description code string The string that uniquely identifies the diagnostic in the format ':'. messageText string The message to associate with the diagnostic class. Defined in ecschema-editing/src/Validation/Diagnostic.ts Line 244 Last Updated: 12 June, 2024