refactor(ivy): fix incorrect error message in ngtsc "PathSegment" (#29453)
refactor(ivy): fix incorrect error message in ngtsc "PathSegment" (#29453)

PR Close #29453

StephenFluin/angular,alexeagle/angular,gkalpak/angular,vikerman/angular,IgorMinar/angular,jasonaden/angular,gdi2290/angular,gdi2290/angular,blesh/angular,JiaLiPassion/angular,IdeaBlade/angular,Brocco/angular,mlaval/angular,gnomeontherun/angular,wKoza/angular,gnomeontherun/angular,mprobst/angular,ocombe/angular,IdeaBlade/angular,IgorMinar/angular,IgorMinar/angular,matsko/angular,alxhub/angular,vikerman/angular,shairez/angular,Toxicable/angular,JiaLiPassion/angular,sarunint/angular,brandonroberts/angular,mgechev/angular,alxhub/angular,wKoza/angular,mlaval/angular,alxhub/angular,blesh/angular,mhevery/angular,alexeagle/angular,vikerman/angular,manekinekko/angular,mgechev/angular,matsko/angular,IgorMinar/angular,filipesilva/angular,jasonaden/angular,gnomeontherun/angular,alxhub/angular,shairez/angular,Brocco/angular,snaptech/angular,brandonroberts/angular,StephenFluin/angular,matsko/angular,sarunint/angular,filipesilva/angular,mprobst/angular,juristr/angular,gdi2290/angular,sarunint/angular,wKoza/angular,shairez/angular,mhevery/angular,ocombe/angular,gkalpak/angular,vikerman/angular,mlaval/angular,sarunint/angular,filipesilva/angular,blesh/angular,snaptech/angular,angular/angular,ocombe/angular,gdi2290/angular,blesh/angular,juristr/angular,blesh/angular,mhevery/angular,Toxicable/angular,mgechev/angular,manekinekko/angular,jasonaden/angular,mlaval/angular,ocombe/angular,alexeagle/angular,ocombe/angular,alexeagle/angular,ocombe/angular,angular-indonesia/angular,JiaLiPassion/angular,juristr/angular,gkalpak/angular,wKoza/angular,Brocco/angular,Toxicable/angular,shairez/angular,manekinekko/angular,manekinekko/angular,gdi2290/angular,Toxicable/angular,petebacondarwin/angular,brandonroberts/angular,petebacondarwin/angular,Toxicable/angular,snaptech/angular,juristr/angular,mprobst/angular,petebacondarwin/angular,brandonroberts/angular,alexeagle/angular,angular/angular,Brocco/angular,snaptech/angular,jasonaden/angular,sarunint/angular,shairez/angular,alxhub/angular,mprobst/angular,mgechev/angular,gkalpak/angular,petebacondarwin/angular,sarunint/angular,brandonroberts/angular,gnomeontherun/angular,JiaLiPassion/angular,mhevery/angular,IgorMinar/angular,filipesilva/angular,juristr/angular,petebacondarwin/angular,jasonaden/angular,alexeagle/angular,Brocco/angular,mhevery/angular,IdeaBlade/angular,vikerman/angular,IdeaBlade/angular,vikerman/angular,IdeaBlade/angular,juristr/angular,snaptech/angular,Toxicable/angular,matsko/angular,petebacondarwin/angular,snaptech/angular,wKoza/angular,mlaval/angular,gdi2290/angular,mprobst/angular,wKoza/angular,IgorMinar/angular,brandonroberts/angular,StephenFluin/angular,mprobst/angular,angular/angular,StephenFluin/angular,angular/angular,angular-indonesia/angular,jasonaden/angular,angular-indonesia/angular,mhevery/angular,manekinekko/angular,StephenFluin/angular,matsko/angular,mgechev/angular,Brocco/angular,manekinekko/angular,angular-indonesia/angular,filipesilva/angular