File indexing completed on 2025-08-27 09:33:38
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 #ifndef ierrors_INCLUDED
0020 # define ierrors_INCLUDED
0021
0022 #include "gserrors.h"
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038 extern const char *const gs_error_names[];
0039
0040
0041
0042 #define LEVEL1_ERROR_NAMES\
0043 "unknownerror", "dictfull", "dictstackoverflow", "dictstackunderflow",\
0044 "execstackoverflow", "interrupt", "invalidaccess", "invalidexit",\
0045 "invalidfileaccess", "invalidfont", "invalidrestore", "ioerror",\
0046 "limitcheck", "nocurrentpoint", "rangecheck", "stackoverflow",\
0047 "stackunderflow", "syntaxerror", "timeout", "typecheck", "undefined",\
0048 "undefinedfilename", "undefinedresult", "unmatchedmark", "VMerror"
0049
0050
0051
0052 #define LEVEL2_ERROR_NAMES\
0053 "configurationerror", "undefinedresource", "unregistered"
0054
0055
0056
0057 #define DPS_ERROR_NAMES\
0058 "invalidcontext", "invalidid"
0059
0060 #define PDF_ERROR_NAMES\
0061 "pdf_stackoverflow", "pdf_circular_reference"
0062
0063 #define ERROR_NAMES\
0064 LEVEL1_ERROR_NAMES, LEVEL2_ERROR_NAMES, DPS_ERROR_NAMES, PDF_ERROR_NAMES
0065
0066
0067
0068
0069 #define GS_ERROR_IS_INTERRUPT(ecode)\
0070 ((ecode) == gs_error_interrupt || (ecode) == gs_error_timeout)
0071
0072 #endif