Main Page   Modules   Compound List   File List   Compound Members   File Members  

misc_error.h File Reference

#include <stdio.h>
#include <float.h>
#include <limits.h>
#include <gandalf/common/gan_err.h>
#include <gandalf/common/misc_defs.h>

Go to the source code of this file.

Defines

#define GAN_ERROR_FAILURE   1
#define GAN_ERROR_NOT_IMPLEMENTED   2
#define GAN_ERROR_REF_OUTSIDE_MATRIX   3
#define GAN_ERROR_CANT_REALLOC   4
#define GAN_ERROR_MALLOC_FAILED   5
#define GAN_ERROR_DIFFERENT_DIMS   6
#define GAN_ERROR_INCOMPATIBLE   7
#define GAN_ERROR_MATRIX_NOT_SQUARE   8
#define GAN_ERROR_INPLACE_TRANSPOSE   9
#define GAN_ERROR_INPLACE_MULTIPLY   10
#define GAN_ERROR_ARRAY_TOO_SMALL   11
#define GAN_ERROR_ILLEGAL_TYPE   12
#define GAN_ERROR_NO_IMPLICIT_INV   13
#define GAN_ERROR_CLAPACK_ILLEGAL_ARG   14
#define GAN_ERROR_CBLAS_ILLEGAL_ARG   15
#define GAN_ERROR_CBLAS_FAILED   16
#define GAN_ERROR_NOT_POSITIVE_DEFINITE   17
#define GAN_ERROR_DIVISION_BY_ZERO   18
#define GAN_ERROR_SQRT_OF_NEG_NUMBER   19
#define GAN_ERROR_NO_CONVERGENCE   20
#define GAN_ERROR_SINGULAR_MATRIX   21
#define GAN_ERROR_IMAGE_TOO_SMALL   22
#define GAN_ERROR_NO_DATA   23
#define GAN_ERROR_NOT_ENOUGH_DATA   24
#define GAN_ERROR_OPENING_FILE   25
#define GAN_ERROR_CORRUPTED_FILE   26
#define GAN_ERROR_OUTSIDE_RANGE   27
#define GAN_ERROR_TOO_LARGE   28
#define GAN_ERROR_TOO_SMALL   29
#define GAN_ERROR_TRUNCATED_FILE   30
#define GAN_ERROR_NOT_INITIALISED   31
#define GAN_ERROR_ILLEGAL_ARGUMENT   32
#define GAN_ERROR_CCMATH_FAILED   33
#define GAN_ERROR_NO_SOLUTION   34
#define GAN_ERROR_READING_FROM_FILE   35
#define GAN_ERROR_WRITING_TO_FILE   36

Functions

void gan_err_default_reporter (void)
 Default Gandalf error handling function.


Detailed Description

Module: Miscellaneous error declarations

Part of: Gandalf Library

Revision: Last edited: Author:

Copyright: (c) 2000 Imagineer Software Limited


Function Documentation

void gan_err_default_reporter void   
 

Default Gandalf error handling function.

Returns:
No value.
Call gan_err_set_reporter(gan_err_default_reporter); in your Gandalf program before calling any other Gandalf functions, if you want to use this error handling routine, which just prints an error message and exits.


Generated on Mon Oct 13 16:14:45 2003 by doxygen1.3-rc1