you could. If it was an error the ECM could code. The issue is that you lost power, and without power the ECU doesnt work. But the Extent of power loss is another thing. Did the engine continue to run during this? if so the ECM may have recoreded something. The other Issue it could be is the ECM itself had a software/firmware crash. Never heard of it happening but it is possible.