Try disconnecting the battery for a few hours and let the ECU reset itself. Then see if you get the errors again as sometimes the fault happens but the ECU doesn't clear itself ...
At least try that first before hunting for something that may not be an ongoing problem ...