CHKERRXX#
Checks error code, if non-zero it calls the C++ error handler which throws an exception
Synopsis#
#include <petscerror.h>
void CHKERRXX(PetscErrorCode ierr)
Not Collective
Input Parameter#
ierr - nonzero error code, see the list of standard error codes in include/petscerror.h
Note#
Deprecated in favor of PetscCallThrow()
. This routine behaves identically to it.
See Also#
Level#
deprecated
Location#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages