_add_tmpl_count_error
if (_add_tmpl_count_error(errs, terr_type, pg, pt,
if (_add_tmpl_count_error(errs, SCF_TERR_CARDINALITY_VIOLATION,