2006 vauxhall vectra - Hello - Michael Cawthorne

Morning all I would like to know if anyone else has ever come across this issue.Ive got 2006 bauxhall vectra c diesel It recently went into limp mode ,but when my mechanic came out and plugged code check machine in ,some things came up ,obviously, but then he couldn't clear codes again ,tried loads of times, he's s*** hot with.vauxhalls ,but this has left him completely baffled Help please

2006 vauxhall vectra - Hello - Cris_on_the_gas

Not clear if he has actually fixed the problem or is just trying to reset the codes. If fault is permanent then I would doubt if codes will clear.