LALErrno.h

Go to the documentation of this file.
00001 /*
00002 *  Copyright (C) 2007 Bernd Machenschalk, Kipp Cannon
00003 *
00004 *  This program is free software; you can redistribute it and/or modify
00005 *  it under the terms of the GNU General Public License as published by
00006 *  the Free Software Foundation; either version 2 of the License, or
00007 *  (at your option) any later version.
00008 *
00009 *  This program is distributed in the hope that it will be useful,
00010 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012 *  GNU General Public License for more details.
00013 *
00014 *  You should have received a copy of the GNU General Public License
00015 *  along with with program; see the file COPYING. If not, write to the
00016 *  Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
00017 *  MA  02111-1307  USA
00018 */
00019 
00020 /* <lalVerbatim file="LALErrnoHV">
00021 Author: Cannon, K. C.
00022 Revision: $Id: LALErrno.h,v 1.4 2007/06/08 14:41:52 bema Exp $
00023 </lalVerbatim>
00024  */
00025 
00026 #ifndef _LALERRNO_H
00027 #define _LALERRNO_H
00028 
00029 #include <lal/LALRCSID.h>
00030 NRCSID (LALERRNOH,"$Id: LALErrno.h,v 1.4 2007/06/08 14:41:52 bema Exp $");
00031 
00032 /*
00033  * Error codes and corresponding error messages.
00034  */
00035 
00036 #define LAL_FAIL_ERR    1
00037 #define LAL_FAIL_MSG    "operation failed"
00038 #define LAL_NULL_ERR    2
00039 #define LAL_NULL_MSG    "unexpected NULL pointer"
00040 #define LAL_NNULL_ERR   3
00041 #define LAL_NNULL_MSG   "unexpected non-NULL pointer"
00042 #define LAL_NOMEM_ERR   4
00043 #define LAL_NOMEM_MSG   "out of memory"
00044 #define LAL_RANGE_ERR   5
00045 #define LAL_RANGE_MSG   "parameter out of range"
00046 #define LAL_BADPARM_ERR 6
00047 #define LAL_BADPARM_MSG "invalid parameter value"
00048 
00049 #endif /* _LALERRNO_H */

Generated on Mon Oct 6 02:31:43 2008 for LAL by  doxygen 1.5.2