That usually means that the pump can not control the fuel pressure, and mostly is due to injector(s) leaking off excess amounts, as above, needs fuel pressure tests and fuel leak off tests on the injectors. Possibly the inlet metering valve on the pump.
If you do a search on this forum for 'p0251' you'll find a lot of info about it.