MPI_Comm_call_errhandler

int MPI_Comm_call_errhandler(MPI_Comm, int);
Calls the error handler assigned to the communicator with the error code supplied.