API Reference > ecschema-metadata > Diagnostic > createCustomAttributeContainerDiagnosticClass createCustomAttributeContainerDiagnosticClass Function Deprecated Moved to the ecschema-editing package. Beta Helper method for creating CustomAttributeContainerDiagnostic child classes. createCustomAttributeContainerDiagnosticClass<ARGS extends any[]>(code: string, messageText: string): undefined Parameter Type Description code string The that uniquely identifies the type of diagnostic in the format ':'. messageText string The message to associate with the diagnostic class. Defined in core/ecschema-metadata/src/Validation/Diagnostic.ts Line 339 Last Updated: 11 June, 2024