PGAError
reports error messages. Prints out the message supplied, and the value of a piece of data. Terminates if PGA_FATAL.
- Provided by: pgapack (Version: 1.1.1-3)
- Report a bug
reports error messages. Prints out the message supplied, and the value of a piece of data. Terminates if PGA_FATAL.
#include "pgapack.h" void PGAError(ctx, msg, level, datatype, data) PGAContext *ctx char *msg int level int datatype void *data
system.c
Example: PGAContext *ctx; int val; : PGAError(ctx, "Some Non Fatal Error: val = ", PGA_WARNING, PGA_INT, (void *) &val); : PGAError(ctx, "A Fatal Error!", PGA_FATAL, PGA_VOID, NULL);