Prints msg along with error message of last error.
This function prints the last error that occurred for the particular thread that invokes this function. The 'msg' is optional and will be printed with the error message if given. The last error is retrieved differently based on what system is being used. The global errno is checked on Linux systems, the GetLastThreadError() is returned on VDK/Blackfin systems and GetLastError() is used on Windows systems.
Definition at line 124 of file phError.cpp. |