1 /* Copyright (C) 2000  The PARI group.
2 
3 This file is part of the PARI/GP package.
4 
5 PARI/GP is free software; you can redistribute it and/or modify it under the
6 terms of the GNU General Public License as published by the Free Software
7 Foundation; either version 2 of the License, or (at your option) any later
8 version. It is distributed in the hope that it will be useful, but WITHOUT
9 ANY WARRANTY WHATSOEVER.
10 
11 Check the License for details. You should have received a copy of it, along
12 with the package; see the file 'COPYING'. If not, write to the Free Software
13 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
14 
15 enum err_list {
16 /* Force errors into non-0 */
17   e_SYNTAX = 1, e_BUG,
18 
19   e_ALARM, e_FILE,
20 
21   e_MISC, e_FLAG, e_IMPL, e_ARCH, e_PACKAGE, e_NOTFUNC,
22 
23   e_PREC, e_TYPE, e_DIM, e_VAR, e_PRIORITY, e_USER,
24 
25   e_STACK, e_STACKTHREAD, e_OVERFLOW, e_DOMAIN, e_COMPONENT,
26 
27   e_MAXPRIME,
28 
29   e_CONSTPOL, e_IRREDPOL, e_COPRIME, e_PRIME, e_MODULUS, e_ROOTS0,
30 
31   e_OP, e_TYPE2, e_INV,
32 
33   e_MEM,
34 
35   e_SQRTN,
36 
37   e_FILEDESC,
38 /* NO ERROR */
39   e_NONE
40 };
41 
42 enum { warner, warnprec, warnfile, warnmem, warnuser, warnstack, warnstackthread };
43