int PetscAttachDebuggerErrorHandler(int line,char* fun,char *file,char* dir,int num,int p, char* mess,void *ctx)Not Collective
line | - the line number of the error (indicated by __LINE__) |
fun | - function where error occured (indicated by __FUNC__) |
file | - the file in which the error was detected (indicated by __FILE__) |
dir | - the directory of the file (indicated by __SDIR__) |
message | - an error text string, usually just printed to the screen |
number | - the generic error number |
p | - the specific error number |
ctx | - error handler context |
Most users need not directly employ this routine and the other errorhandlers, but can instead use the simplified interface SETERR, which hasthe calling sequence
SETERRQ(number,p,message)
PetscTraceBackErrorHandler()
PetscAttachDebuggerErrorHandler()
PetscAbortErrorHandler()or you may write your own.
Location: src/sys/src/erroradebug.c
System Index
Table of Contents