API Reference > ecschema-editing > 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 ecschema-editing/src/Validation/Diagnostic.ts Line 227 Last Updated: 12 June, 2024