You'd need to check the ECU for the error code.
I think there's two connectors you bridge and then the light will flash a certain amount of codes which corresponds to a certain error.
You'll need to find a reference of the error codes and what pins to bridge for your car/engine, though.
and if in doubt it would pay to replace the radiator cap just to be sure!