API Reference > ecschema-metadata > Diagnostic > CustomAttributeContainerDiagnostic > constructor constructor Method Initializes a new CustomAttributeContainerDiagnostic. CustomAttributeContainerDiagnostic<ARGS extends any[]>(container: CustomAttributeContainerProps, messageArgs: ARGS, category: DiagnosticCategory = DiagnosticCategory.Error): CustomAttributeContainerDiagnostic<ARGS> Parameter Type Description container CustomAttributeContainerProps messageArgs ARGS The arguments used when formatting the diagnostic message. category DiagnosticCategory The DiagnosticCategory to associate with the diagnostic, Error by default. Returns - CustomAttributeContainerDiagnostic<ARGS> Defined in core/ecschema-metadata/src/Validation/Diagnostic.ts Line 244 Last Updated: 11 June, 2024