NWChem-C/src/util/errquit.h
2026-05-28 13:06:31 -04:00

37 lines
1.1 KiB
C

#ifndef _ERRQUIT_H
#define _ERRQUIT_H
// UERR - Not yet assigned to a category
// UNKNOWN_ERR - Not yet assigned to a category
// MEM_ERR - Generic Memory error
// RTDB_ERR - Error in the Runtime Database
// INPUT_ERR - Error resulting from inproper user input
// CAPMIS_ERR - Features that have not been implemented yet
// BASIS_ERR - Error related to basis set
// GEOM_ERR - Error related to geometry
// MA_ERR - local memory error
// GA_ERR - global memory error
// INT_ERR - error related to integrals
// DISK_ERR - error in reading or writing from disk
// CALC_ERR - calculation failed to converge
// FMM_ERR -
// STACK_ERR - error in MA stack
// HEAP_ERR - error in MA heap
const int UERR = 0;
const int UNKNOWN_ERR = 0;
const int MEM_ERR = 10;
const int STACK_ERR = 11;
const int HEAP_ERR = 12;
const int RTDB_ERR = 20;
const int INPUT_ERR = 30;
const int CAPMIS_ERR = 40;
const int BASIS_ERR = 50;
const int GEOM_ERR = 60;
const int GA_ERR = 70;
const int MA_ERR = 80;
const int INT_ERR = 90;
const int DISK_ERR = 100;
const int CALC_ERR = 110;
const int FMM_ERR = 120;
// $Id$
#endif