Split PP_Error functions to Exceptions.cpp