#include "petsc.h" int PetscAbortErrorHandler(int line,char *func,char *file,char* dir,int n,int p,char *mess,void *ctx)Not Collective
line | - the line number of the error (indicated by __LINE__) | |
func | - function where error occured (indicated by __FUNCT__) | |
file | - the file in which the error was detected (indicated by __FILE__) | |
dir | - the directory of the file (indicated by __SDIR__) | |
mess | - an error text string, usually just printed to the screen | |
n | - the generic error number | |
p | - specific error number | |
ctx | - error handler context |
-on_error_abort | - Activates aborting when an error is encountered | |
-start_in_debugger [noxterm,dbx,xxgdb] [ | - display name] - Starts all processes in the debugger and uses PetscAbortErrorHandler(). By default the debugger is gdb; alternatives are dbx and xxgdb. |
SETERRQ(number,mess)or its variants, SETERRQ1(number,formatstring,arg1), SETERRQ2(), ... that allow including arguments in the message.
Level:developer
Location:src/sys/src/error/errabort.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages