MPI_Error_class
int MPI_Error_class(int, int *);
Returns the error class for the corresponding error code.