GetProcessErrorFileDirectory returns the full path name, with a trailing slash, of the directory where error files are written.
In this video, GetProcessErrorFileDirectory is used to get the process error file directory.
TurboIntegrator
Version 11 and 12
GetProcessErrorFileDirectory;