May be stupid but,what if it was a mechanical failure of something Like fuel pump or something else?
There is a code but that does not mean that it is one fault.There may be two different faults.