Hi mate,
Yeah its best to check the codes first if you have that option available, as I'm sure your probably aware there are several different factors/ components that can cause EPAS failure, ranging from a weak battery up to the torque sensor or motor itself.
Its worth checking the condition of your battery / alternator at this time of year anyway, regardless of the EPAS fault, especially with yours being a diesel.
Alan