phrGetErrorFileOn function

Retrieve the current value of the error file switch.