projects/forms/select/shared/commit-error-announcer.ts
Default factory for the scalar commit-error announcer. Dispatches via policy.kind: 'verbose' announces the formatted error message at the configured severity; 'soft' calls the soft-announce hook (CngxTypeahead removal pattern).
policy.kind
'verbose'
'soft'
CngxTypeahead
Override the CNGX_COMMIT_ERROR_ANNOUNCER_FACTORY token to swap in telemetry or locale-aware variants.
createCommitErrorAnnouncer(opts: CngxCommitErrorAnnouncerOptions)
CngxCommitErrorAnnouncerOptions
void