Wondering -
presumably there is a 'dashpot' / spring-loaded accumulator in your fuel supply line, as in most fuel-injected engines. Its function is to keep a decent pressure in system - for a time - after shutdown; also to maintain a constant supply pressure to injectors, at both high/low demand.
Likely that 'small reservoir' in the hi-pressure line supplied the drive-away diesel fuel. Big Q: how far from the filling station?
So then -
1) The diesel fuel ran out.
2) Gasoline w/ higher ignition temp hit the injectors.
3) Unless an (unwanted) hot-spot existed - engine died.
But then, your glow plugs just might retain enough combustion heat, while driving, to keep the fires burning, even with gasoline (??)
If I'm not missing something -- I'd think that $damages would occur only if some hot-spot indeed allowed the engine to function: too long, sans fuel-lubrication, as Peter reminds. Obv nicest if engine stopped from non-ignition, quickly and soon after fillup - than from ___ (well, you know.)
Luck...