API Reference > ecschema-editing > Diagnostic > CustomAttributeContainerDiagnostic CustomAttributeContainerDiagnostic<ARGS extends any[]> Class Beta An IDiagnostic implementation used for CustomAttributeContainerProps diagnostics. Extends BaseDiagnostic<CustomAttributeContainerProps, ARGS> Methods Name Description constructor<ARGS extends any[]>(container: CustomAttributeContainerProps, messageArgs: ARGS, category: DiagnosticCategory = DiagnosticCategory.Error): CustomAttributeContainerDiagnostic<ARGS> Initializes a new CustomAttributeContainerDiagnostic. Properties Name Type Description diagnosticType Accessor ReadOnly DiagnosticType Gets the DiagnosticType. schema Accessor ReadOnly Schema Gets the schema where the diagnostic originated. Inherited properties Name Type Inherited from Description category DiagnosticCategory BaseDiagnostic<CustomAttributeContainerProps, ARGS> The diagnostic category is of the type DiagnosticCategory; which is defined as an enumeration above. code Accessor AbstractReadOnly string BaseDiagnostic<CustomAttributeContainerProps, ARGS> Gets the unique string identifier for the diagnostic in the format ':'. ecDefinition CustomAttributeContainerProps BaseDiagnostic<CustomAttributeContainerProps, ARGS> The EC object to associate with the diagnostic. messageArgs undefined | ARGS BaseDiagnostic<CustomAttributeContainerProps, ARGS> The arguments used when formatting the diagnostic message. messageText Accessor AbstractReadOnly string BaseDiagnostic<CustomAttributeContainerProps, ARGS> Gets the message associated with the diagnostic. Defined in ecschema-editing/src/Validation/Diagnostic.ts Line 220 Last Updated: 11 June, 2024