PGAError(4)

NAME
PGAError - reports error messages. Terminates if fatal

INPUT PARAMETERS
ctx - context variable
msg - the error message to print
level
    - PGA_WARNING or PGA_FATAL to indicate the error's severity
datatype
    - the data type of the following argument
data
    - the address of the data to be written out, cast as a void pointer

OUTPUT PARAMETERS
none

SYNOPSIS
#include "pgapack.h"
void  PGAError(ctx, msg, level, datatype, data)
PGAContext *ctx
char *msg
int level
int datatype
void *data

LOCATION
system.c

EXAMPLE
Example:
Allocates memory and assigns the address of the allocated memory to
the binary string field (ind->chrom) of the individual.
PGAContext *ctx;
:
PGAError(ctx, "Some Non Fatal Error", PGA_WARNING, PGA_INT,
(void *) &val);