PetscErrorMessage#
Returns the text string associated with a PETSc error code.
Synopsis#
#include "petscsys.h"
PetscErrorCode PetscErrorMessage(PetscErrorCode errnum, const char *text[], char **specific)
Not Collective
Input Parameter#
errnum - the error code
Output Parameters#
text - the error message (
NULL
if not desired)specific - the specific error message that was set with
SETERRQ()
orPetscError()
. (NULL
if not desired)
See Also#
PetscErrorCode
, PetscPushErrorHandler()
, PetscAttachDebuggerErrorHandler()
,
PetscError()
, SETERRQ()
, PetscCall()
PetscAbortErrorHandler()
,
PetscTraceBackErrorHandler()
Level#
developer
Location#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages