home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / extensions / lib / PEX / include / phigserr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-07-12  |  30.4 KB  |  509 lines

  1. /* $XConsortium: phigserr.h,v 5.2 91/07/12 20:22:21 hersh Exp $ */
  2.  
  3. /***********************************************************
  4. Copyright 1989, 1990, 1991 by Sun Microsystems, Inc. and the X Consortium.
  5.  
  6.                         All Rights Reserved
  7.  
  8. Permission to use, copy, modify, and distribute this software and its 
  9. documentation for any purpose and without fee is hereby granted, 
  10. provided that the above copyright notice appear in all copies and that
  11. both that copyright notice and this permission notice appear in 
  12. supporting documentation, and that the names of Sun Microsystems,
  13. the X Consortium, and MIT not be used in advertising or publicity 
  14. pertaining to distribution of the software without specific, written 
  15. prior permission.  
  16.  
  17. SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 
  18. INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT 
  19. SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL 
  20. DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  21. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  22. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  23. SOFTWARE.
  24. ******************************************************************/
  25.  
  26. /* Implementation Dependent Errors */
  27. #define        PE_NOT_SUPP  -500    /* Ignoring function, this function
  28.                        is not supported */
  29. #define        PE_EL_TOO_LARGE  -501    /* Ignoring function, the element
  30.                        is too large */
  31.  
  32. /* PEX/PHIGS errors */
  33. #define        PE_PEX_NO_XSRVR  -200    /* Ignoring function, cannot connect
  34.                        to the designated or default
  35.                        server */
  36. #define        PE_PEX_NO_PEX    -201    /* Ignoring function, the specified
  37.                        or default X server does not
  38.                        support a compatible PEX extension */
  39. #define        PE_PEX_ALLOC    -202        /* Ignoring function, an X
  40.                        allocation error has occurred */
  41. #define        PE_PEX_NO_WIN_CREATE    -203    /* Ignoring function, can't create
  42.                        an X window */
  43. #define        PE_PEX_NO_SHELL_CREATE    -204    /* Ignoring function, can't create
  44.                        an Xt shell */
  45. /* TODO: These are only defined until the correct mapping can be determined. */
  46. #define        PE_PEX_CTE    -250    /* PEX colour type error */
  47. #define        PE_PEX_RSE    -251    /* PEX rendering state error */
  48. #define        PE_PEX_FPFE   -252    /* PEX floating point format error */
  49. #define        PE_PEX_LE     -253    /* PEX label error */
  50. #define        PE_PEX_LTE    -254    /* PEX lookup table error */
  51. #define        PE_PEX_NSE    -255    /* PEX name set error */
  52. #define        PE_PEX_PE     -256    /* PEX path error */
  53. #define        PE_PEX_FE     -257    /* PEX font error */
  54. #define        PE_PEX_PWE    -258    /* PEX phigs workstation error */
  55. #define        PE_PEX_PME    -259    /* PEX pick measure error */
  56. #define        PE_PEX_PCE    -260    /* PEX pipeline context error */
  57. #define        PE_PEX_RE     -261    /* PEX renderer error */
  58. #define        PE_PEX_SCE    -262    /* PEX search context error */
  59. #define        PE_PEX_SE     -263    /* PEX structure error */
  60. #define        PE_PEX_OCE    -264    /* PEX output command error */
  61. /* X Errors */
  62. #define        PE_X_BAD_REQUEST    -301    /*X Bad Request Error */
  63. #define        PE_X_BAD_VALUE    -302    /*X Bad Value Error */
  64. #define        PE_X_BAD_WINDOW    -303    /*X Bad Window Error */
  65. #define        PE_X_BAD_PIXMAP    -304    /*X Bad Pixmap Error */
  66. #define        PE_X_BAD_ATOM    -305    /*X Bad Atom Error */
  67. #define        PE_X_BAD_CURSOR    -306    /*X Bad Cursor Error */
  68. #define        PE_X_BAD_FONT    -307    /*X Bad Font Error */
  69. #define        PE_X_BAD_MATCH    -308    /*X Bad Match Error */
  70. #define        PE_X_BAD_DRAWABLE    -309    /*X Bad Drawable Error */
  71. #define        PE_X_BAD_ACCESS    -310    /*X Bad Access Error */
  72. #define        PE_X_BAD_ALLOC    -311    /*X Bad Alloc Error */
  73. #define        PE_X_BAD_COLOR    -312    /*X Bad Colour Error */
  74. #define        PE_X_BAD_GC        -313    /*X Bad GC Error */
  75. #define        PE_X_BAD_ID_CHOICE    -314    /*X Bad ID Choice Error */
  76. #define        PE_X_BAD_NAME    -315    /*X Bad Name Error */
  77. #define        PE_X_BAD_LENGTH    -316    /*X Bad Length Error */
  78. #define        PE_X_BAD_IMPL    -317    /*X Bad Implementation Error */
  79.  
  80.     /* Miscellaneous*/
  81.  
  82. #define        PE_BAD_DC_VAL  -171 /*Ignoring function, the specified DC
  83.                     limits are less than zero */
  84. #define        PE_NO_DC_SET  -170 /*Ignoring function, DC limits cannot be
  85.                     set for this workstation */
  86. #define        PE_X_NO_CMAP  -169 /*Ignoring function, cannot create an X 
  87.                       colormap resource */
  88. #define        PE_X_BAD_VISUAL   -168 /*Ignoring function, cannot open workstation
  89.                   on a read-only visual with no predefined
  90.                   colormap properties */
  91. #define        PE_BAD_NUM_VTX_LT_0  -164    /*Ignoring function, the specified number of
  92.                   vertices or sets of vertices is less than 
  93.                   zero */
  94. #define        PE_BAD_EDGE_FLAG_INFO  -163    /*Ignoring function, the
  95.                   specified edge data flag is invalid*/
  96. #define        PE_BAD_VERT_FLAG  -162    /*Ignoring function, the specified vertex
  97.                   flag is invalid*/
  98. #define        PE_BAD_FACET_FLAG  -161    /*Ignoring function, the specified facet
  99.                   flag is invalid*/
  100. #define        PE_NO_FUNC   -160  /*Ignoring function, the specified 
  101.                                   function is not available on the speci-
  102.                                   fied workstation */
  103. #define        PE_NO_INFO  -159  /*Ignoring function, the requested
  104.                   information is not available */
  105. #define        PE_NO_FONT_CS -156 /*Ignoring Function, specified font is not 
  106.                   available for character set */
  107. #define        PE_BAD_CHAR_SET -155 /*Specified character set is invalid */
  108. #define        PE_LENGTH_LT_0 -153    /*List length is less than zero -- zero will
  109.                   be used */
  110. #define        PE_NOT_IMPL  -152    /*Ignoring function, not implemented */
  111. #define        PE_BAD_NAME  -151    /*Ignoring function, nameset or filter
  112.                   contains name outside supported range */
  113. #define        PE_NUM_PTS_LT_0  -150    /*Ignoring function, the specified number of
  114.                   points or sets of points is less than zero */
  115.     /* Workstation Configuration */
  116. #define           PE_WST_BOUND -100    /*Ignoring function, workstation type is
  117.                   a default type or bound to a workstation
  118.                   and cannot be modified */
  119.     /* Unusable Environment */
  120. #define        PE_NO_SHMEM    -57      /*Kernel not configured with shared-memory IPC
  121.                     facility needed for PEX SI communication */
  122. #define        PE_NO_FONT   -55      /*Ignoring function, cannot open PHIGS,
  123.                     cannot open font files */
  124. #define        PE_NO_FILE -54      /*Ignoring function, cannot locate SI
  125.                     support file */
  126. #define        PE_BAD_FILE_PATH -53      /*Ignoring function, SI support file
  127.                     path invalid */
  128. #define        PE_PATH_TOO_LONG -52   /*Ignoring function, PEXAPIDIR path is too
  129.                      long */
  130. #define        PE_NO_SRVR_FILE -51       /*Ignoring function, cannot open PHIGS,
  131.                      cannot locate SI file "phigsmon" */
  132. #define           PE_COMM     -50       /*Communication error */
  133.     /* Expended or Failing System Resources */
  134. #define           PE_NO_TRAV_MEM -6       /*Could not allocate additional dynamic
  135.                      memory during structure traversal */
  136. #define        PE_EXEC     -2       /*Ignoring function, cannot open PHIGS,
  137.                      cannot create server */
  138. #define        PE_COMM_CREAT -1       /*Ignoring function, cannot open PHIGS,
  139.                     cannot create communication channel */
  140.  
  141. #define        PE_NO_ERROR   0       /*No Error */
  142. #define        PE_NOT_PHCL     1       /*Ignoring function, function requires
  143.                                      state (PHCL,WSCL,STCL,ARCL) */
  144. #define        PE_NOT_PHOP   2       /*Ignoring function, function requires
  145.                                      state (PHOP,*,*,*) */
  146. #define        PE_NOT_WSOP   3       /*Ignoring function, function requires
  147.                                      state (PHOP,WSOP,*,*) */
  148. #define        PE_NOT_CL 4       /*Ignoring function, function requires
  149.                                      state (PHOP,WSCL,STCL,ARCL) */
  150. #define        PE_NOT_STOP   5       /*Ignoring function, function requires
  151.                                      state (PHOP,*,STOP,*) */
  152. #define        PE_NOT_STCL   6      /*Ignoring function, function requires
  153.                                      state (PHOP,*,STCL,*) */
  154. #define        PE_NOT_AROP   7      /*Ignoring function, function requires
  155.                                      state (PHOP,*,*,AROP) */
  156. #define        PE_BAD_CONN_ID   50      /*Ignoring function, connection identi-
  157.                                      fier not recognized by the implementa-
  158.                                      tion */
  159. #define        PE_WS_TYPE  51      /*Ignoring function, this information is
  160.                                      not yet available for this generic
  161.                      workstation type; open a workstation of
  162.                      this type and use the specific
  163.                      workstation type */
  164. #define        PE_BAD_WS_TYPE 52      /*Ignoring function, workstation type
  165.                                      not recognized by the implementation
  166.                                      */
  167. #define        PE_DUP_WS_ID 53      /*Ignoring function, workstation iden-
  168.                                      tifier already is in use */
  169. #define        PE_WS_NOT_OPEN   54      /*Ignoring function, the specified
  170.                                      workstation is not open */
  171. #define        PE_NO_OPEN_WS    55      /*Ignoring function, workstation cannot
  172.                                      be opened for an implementation depen-
  173.                                      dent reason */
  174. #define        PE_WS_NOT_MO   56      /*Ignoring function, specified
  175.                                      workstation is not of category MO */
  176. #define        PE_WS_MI   57      /*Ignoring function, specified worksta-
  177.                                      tion is of category MI */
  178. #define        PE_WS_NOT_MI   58      /*Ignoring function, specified
  179.                                      workstation is not of category MI */
  180. #define        PE_WS_NO_OUTPUT  59      /*Ignoring function, the specified
  181.                                      workstation does not have output capa-
  182.                                      bility (i.e., the workstation category
  183.                                      is neither OUTPUT, OUTIN, nor MO) */
  184. #define        PE_WS_NOT_OUTIN   60      /*Ignoring function, specified worksta-
  185.                                      tion is not of category OUTIN */
  186. #define        PE_WS_NO_INPUT   61      /*Ignoring function, specified worksta-
  187.                                      tion is neither of category INPUT nor
  188.                                      of category OUTIN */
  189. #define        PE_WS_NOT_OUT   62      /*Ignoring function, this information is
  190.                                      not available for this MO workstation
  191.                      type */
  192. #define        PE_MAX_WS  63      /*Ignoring function, opening this
  193.                                      workstation would exceed the maximum
  194.                                      number of simultaneously open
  195.                                      workstations */
  196. #define        PE_NO_GDP   64      /*Ignoring function, the specified
  197.                                      workstation type is not able to gen-
  198.                                      erate the specified generalized draw-
  199.                                      ing primitive */
  200. #define        PE_BUN_INDX_LT_1   100      /*Ignoring function, the bundle index
  201.                                      value is less than one */
  202. #define        PE_REP_UNDEF     101      /*The specified representation has not
  203.                                      been defined */
  204. #define        PE_REP_NOT_PREDEF  102      /*Ignoring function, the specified
  205.                                      representation has not be predefined
  206.                                      on this workstation */
  207. #define        PE_MAX_BUN  103      /*Ignoring function, setting this bundle
  208.                                      table entry would exceed the maximum
  209.                                      number of entries allowed in the
  210.                                      workstation bundle table */
  211. #define        PE_BAD_LINETYPE   104      /*Ignoring function, the specified line-
  212.                                      type is not available on the specified
  213.                                      workstation */
  214. #define        PE_BAD_MARKERTYPE   105      /*Ignoring function, the specified mark-
  215.                                      er type is not available on the speci-
  216.                                      fied workstation */
  217. #define        PE_BAD_FONT   106      /*Ignoring function, the specified font
  218.                                      is not available for the requested
  219.                                      text precision on the specified
  220.                                      workstation */
  221. #define        PE_BAD_EDGETYPE   107      /*Ignoring function, the specified edge-
  222.                                      type is not available on the specified
  223.                                      workstation */
  224. #define        PE_BAD_INT_STYLE   108      /*Ignoring function, the specified
  225.                                      interior style is not available on the
  226.                                      workstation */
  227. #define        PE_NO_PAT     109      /*Ignoring function, interior style PAT-
  228.                                      TERN  is not supported on the worksta-
  229.                                      tion */
  230. #define        PE_BAD_COLR_MODEL   110      /*Ignoring function, the specified
  231.                      colour model is not available on the
  232.                      workstation. */
  233. #define        PE_BAD_HLHSR_MODE   111      /*Ignoring function, the specified HLHSR
  234.                                      mode is not available on the specified
  235.                                      workstation */
  236. #define        PE_PAT_INDX_LT_1   112      /*Ignoring function, the pattern index
  237.                                      value is less than one */
  238. #define        PE_COLR_INDX_LT_0    113      /*Ignoring function, the colour index
  239.                                      value is less than zero */
  240. #define        PE_VIEW_INDX_LT_0    114     /*Ignoring function, the view index
  241.                                      value is less than zero */
  242. #define        PE_VIEW_INDX_LT_1    115     /*Ignoring function, the view index
  243.                                      value is less than one */
  244. #define        PE_BAD_PAT_DIM    116      /*Ignoring function, one of the dimen-
  245.                                      sions of pattern colour array is less
  246.                                      than one */
  247. #define        PE_BAD_COLR_DIM     117     /*Ignoring function, one of the dimen-
  248.                                      sions of the colour index array is
  249.                                      less than zero */
  250. #define        PE_BAD_COLR   118      /*Ignoring function, one of the com-
  251.                                      ponents of the colour specification is
  252.                                      out of range.  The valid range is
  253.                                      dependent upon the current colour
  254.                                      model */
  255. #define        PE_DCUE_INDX_LT_0   119     /*Ignoring function, depth cue index
  256.                      is less than zero */
  257. #define        PE_DCUE_INDX_LT_1  120     /*Ignoring function, depth cue index
  258.                      is less than one */
  259. #define        PE_COLRMAP_INDX_LT_0    121     /*Ignoring function, the colour mapping
  260.                      index is less than zero */
  261. #define        PE_BAD_LINE_SHADE 122    /*Ignoring function, the specified poly-
  262.                                      line shading method is not available
  263.                      on the workstation */
  264. #define        PE_BAD_INT_SHADE 123    /*Ignoring function, the specified interior
  265.                                      shading method is not available
  266.                      on the workstation */
  267. #define        PE_BAD_REF_EQN 124      /*Ignoring function, the specified interior
  268.                                      reflectance equation is not available
  269.                      on the workstation */
  270. #define        PE_BAD_COLRMAP_RANGE 125    /*Ignoring function, the total of the
  271.                      colour range fields in all the table
  272.                      entries is too large  */
  273. #define        PE_BAD_COLRMAP_METHOD 126    /*Ignoring function, the specified colour
  274.                                      mapping method is not available
  275.                      on the specified workstation */
  276. #define        PE_LTSRC_INDX_LT_1 129  /*Ignoring function, the light source index
  277.                      is less than 1 */
  278. #define        PE_BAD_REF_PLANES  130     /*Ignoring function, invalid reference
  279.                                      planes; DQMIN > DQMAX */
  280. #define        PE_BAD_LTSRCTYPE  131  /*Ignoring function, the specified light
  281.                      source type is not available on the 
  282.                      workstation */
  283. #define        PE_BAD_LTANGLE     132  /*Ignoring function, the specified spot
  284.                      light spread angle is out of range */
  285. #define           PE_ENTRY_LT_1  133    /*Ignoring function, one of the entries
  286.                      in the activation list or the
  287.                      deactivation list is less than 1 */
  288. #define           PE_NOT_INDIRECT  134    /*Ignoring function, the requested
  289.                        entry contains a general colour
  290.                        specification with colour type other
  291.                        than INDIRECT */
  292. #define           PE_DUP_ENTRY   135    /*Ignoring function, the same entry
  293.                                      exists in both the activation and the
  294.                      deactivation list */
  295. #define           PE_BAD_COLR_RANGE   136    /*Ignoring function, one of the
  296.                       components of the colour specification
  297.                       is out of range. */
  298. #define           PE_BAD_DATA   138    /*Ignoring function, one or more fields
  299.                       in the specified data record is
  300.                       inconsistent */
  301. #define        PE_MAX_VIEW   150     /*Ignoring function, setting this view
  302.                                      table entry would exceed the maximum
  303.                                      number of entries allowed in the
  304.                                      workstation's view table */
  305. #define        PE_INVALID_WINDOW    151     /*Ignoring function, invalid window;
  306.                                      XMIN >= XMAX, YMIN >= YMAX, or
  307.                      ZMIN > ZMAX */
  308. #define        PE_INVALID_VIEWPORT     152     /*Ignoring function, invalid viewport;
  309.                                      XMIN >= XMAX, YMIN >= YMAX, or
  310.                      ZMIN > ZMAX */
  311. #define        PE_INVALID_CLIP    153     /*Ignoring function, invalid view clipping
  312.                      limits; XMIN >= XMAX, YMIN >= YMAX, or
  313.                      ZMIN > ZMAX */
  314. #define        PE_BAD_CLIP   154     /*Ignoring function, the view clipping
  315.                      limits are not within NPC range */
  316. #define        PE_BAD_PROJ_VIEWPORT  155     /*Ignoring function, the projection
  317.                                      viewport limits are not within NPC range */
  318. #define        PE_BAD_WS_WINDOW    156     /*Ignoring function, the workstation
  319.                                      window limits are not within NPC range */
  320. #define        PE_BAD_WS_VIEWPORT     157     /*Ignoring function, the workstation
  321.                                      viewport is not within display space */
  322. #define        PE_BAD_PLANES    158     /*Ignoring function, front plane and back
  323.                                      plane distances are equal when z-extent
  324.                      of the projection viewport is zero */
  325.  
  326.  
  327. #define        PE_BAD_VPN    159      /*Ignoring function, the view plane nor-
  328.                                      mal vector has length zero */
  329. #define        PE_BAD_VUP    160      /*Ignoring function, the view up vector
  330.                                      has length zero */
  331. #define        PE_BAD_VUP_VPN   161      /*Ignoring function, the view up and
  332.                                      view plane normal vectors are parallel
  333.                                      thus the viewing coordinate system
  334.                                      cannot be established */
  335. #define        PE_BAD_PRP    162     /*Ignoring function, the projection
  336.                                      reference point is between the front
  337.                                      and back planes */
  338. #define        PE_PRP_VIEW_PLANE     163     /*Ignoring function, the projection
  339.                                      reference point cannot be positioned
  340.                                      on the view plane */
  341. #define        PE_FRONT_BACK   164     /*Ignoring function, the back
  342.                                      plane is in front of the front plane */
  343. #define        PE_IGNORE_STRUCTS 200     /*Warning, ignoring structures that do
  344.                                      not exist */
  345. #define        PE_BAD_STRUCT  201     /*Ignoring function, the specified
  346.                                      structure does not exist */
  347. #define        PE_BAD_ELEMENT    202     /*Ignoring function, the specified ele-
  348.                                      ment does not exist */
  349. #define        PE_BAD_PATH  203     /*Ignoring function, specified starting
  350.                                      path not found in CSS */
  351. #define        PE_BAD_CEILING_INDX   204     /*Ignoring function, specified search
  352.                                      ceiling index out of range */
  353. #define        PE_NO_LABEL   205     /*Ignoring function, the label does not
  354.                                      exist in the open structure between
  355.                                      the element pointer and the end of the
  356.                                      structure */
  357. #define        PE_NO_LABELS  206     /*Ignoring function, one or both of the
  358.                                      labels does not exist in the open
  359.                                      structure between the element pointer
  360.                                      and the end of the structure */
  361. #define           PE_BAD_PATH_DEPTH 207    /*Ignoring function, the specified path
  362.                                      depth is less than zero (0) */
  363. #define        PE_BAD_DIPS_PRI 208     /*Ignoring function, the display priority
  364.                      is out of range */
  365. #define        PE_NO_DEVICE   250     /*Ignoring function, the specified
  366.                                      device is not available on the specified
  367.                                      workstation */
  368. #define        PE_NOT_REQUEST 251    /*Ignoring function, the function re-
  369.                                      quires the input device to be in RE-
  370.                                      QUEST mode */
  371. #define        PE_NOT_SAMPLE 252     /*Ignoring function, the function re-
  372.                                      quires the input device to be in SAM-
  373.                                      PLE Mode */
  374. #define        PE_BAD_PET    253     /*Warning, the specified prompt/echo
  375.                                      type is not available on the specified
  376.                                      workstation.  Prompt/echo type one
  377.                                      will be used in its place */
  378. #define        PE_INVALID_ECHO   254     /*Ignoring function, invalid echo
  379.                      area/volume; XMIN >= XMAX, YMIN >= YMAX,
  380.                      or ZMIN > ZMAX */
  381. #define        PE_BAD_ECHO   255     /*Ignoring function, one of the echo
  382.                      area/volume boundary points is
  383.                      outside the range of the device */
  384. #define        PE_QUEUE_OFLOW   256     /*Warning, the input queue has over-
  385.                                      flowed */
  386. #define        PE_NO_QUEUE_OFLOW   257     /*Ignoring function, input queue has not
  387.                                      overflowed */
  388. #define        PE_OFLOW_NO_GO 258   /*Warning, input queue has over-
  389.                                      flowed, but associated workstation has
  390.                      been closed */
  391. #define        PE_BAD_CLASS  259     /*Ignoring function, the input device
  392.                                      class of the current input report does
  393.                                      not match the class being requested */
  394. #define        PE_BAD_DATA_REC   260     /*Ignoring function, one of the fields
  395.                                      within the input device data record is
  396.                                      in error */
  397. #define           PE_INVALID_VALUE   261     /*Ignoring function, initial value is
  398.                      invalid */
  399. #define           PE_STROKE_BUF_SIZE  262     /*Ignoring function, number of points in
  400.                      the initial stroke is greater than the
  401.                      buffer size */
  402. #define           PE_STRING_BUF_SIZE  263     /*Ignoring function, length of the initial
  403.                      string is greater than the buffer size */
  404. #define        PE_ILLEGAL_ITEM_TYPE   300     /*Ignoring function, item type is not
  405.                                      allowed for user items */
  406. #define        PE_INVALID_ITEM_LEN   301     /*Ignoring function, item length is in-
  407.                                      valid */
  408. #define        PE_METAFILE_EMPTY    302     /*Ignoring function, no item is left in
  409.                                      metafile input */
  410. #define        PE_INVALID_ITEM    303     /*Ignoring function, metafile item is
  411.                                      invalid */
  412. #define        PE_BAD_ITEM_TYPE    304     /*Ignoring function, item type is
  413.                                      unknown */
  414. #define        PE_BAD_ITEM_REC   305     /*Ignoring function, content of item
  415.                                      data record is invalid for the speci-
  416.                                      fied item type */
  417. #define        PE_MAX_ITEM_LEN    306     /*Ignoring function, maximum item data
  418.                                      record length is invalid */
  419. #define        PE_USER_ITEM   307     /*Ignoring function, user item cannot be
  420.                                      interpreted */
  421. #define        PE_ESC_NOT_AVAIL    350     /*Warning, the specified escape is not
  422.                                      available on one or more workstations
  423.                                      in this implementation.  The escape
  424.                                      will be processed by those worksta-
  425.                                      tions on which it is available */
  426. #define        PE_BAD_ESC_DATA_REC    351     /*Ignoring function, one of the fields
  427.                                      within the escape data record is in
  428.                                      error */
  429. #define        PE_AR_CANT_OPEN   400     /*Ignoring function, the archive file
  430.                                      cannot be opened */
  431. #define        PE_MAX_AR     401     /*Ignoring function, opening this ar-
  432.                                      chive file would exceed the maximum
  433.                                      number of simultaneously open archive
  434.                                      files */
  435. #define        PE_DUP_AR_ID 402     /*Ignoring function, archive file iden-
  436.                                      tifier already in use */
  437. #define        PE_BAD_AR 403     /*Ignoring function, the archive file is
  438.                                      not a PHIGS archive file */
  439. #define        PE_AR_NOT_OPEN  404     /*Ignoring function, the specified ar-
  440.                                      chive file is not open */
  441. #define        PE_NAME_CONFLICT  405     /*Ignoring function, name conflict oc-
  442.                                      cured while conflict resolution flag
  443.                                      has value ABANDON */
  444. #define        PE_AR_FULL    406     /*Warning, the archive file is full.
  445.                                      Any structures that were archived were
  446.                                      archived in total */
  447. #define        PE_AR_NO_STRUCT  407     /*Warning, some of the specified struc-
  448.                                      tures do not exist on the archive file */
  449. #define        PE_AR_NO_STRUCT_EMPTY  408     /*Warning, some of the specified struc-
  450.                                      tures do not exist on the archive
  451.                                      file.  PHIGS will create empty struc-
  452.                                      tures in their places */
  453. #define        PE_BAD_ERROR_FILE 450    /*Ignoring function, the specified
  454.                                      error file is invalid */
  455. /* PHIGS+ errors */
  456. #define           PE_ORDER_LT_1 500    /*Ignoring function, the specified order
  457.                                      is less than 1 */
  458. #define        PE_CTL_POINTS  501    /*Ignoring function, not enough control
  459.                                      points for specified order */
  460. #define        PE_BAD_ORDER   502    /*Ignoring function, the specified order
  461.                                      is inconsistent with number of knots
  462.                                      and control points */
  463. #define        PE_BAD_KNOTS   503    /*Ignoring function, the knot sequence is
  464.                                      not non-decreasing */
  465. #define        PE_BAD_VERT_INDX  504    /*Ignoring function, one or more of the
  466.                                      vertex indices is out of range */
  467. #define        PE_DEGEN_FAS   505    /*Warning, the fill area is degenerate */
  468. #define        PE_BAD_PARAM_RANGE 506    /*Ignoring function, parameter range is
  469.                                      inconsistent with the knots */
  470. #define        PE_BAD_EDGE_FLAG   513    /*Ignoring function, inconsistent edge
  471.                                      flag specification */
  472. #define        PE_OFLOOW_PHIGS     900       /*Storage overflow has occurred in PHIGS */
  473. #define        PE_OFLOW_CSS    901       /*Storage overflow has occurred in CSS */
  474. #define        PE_IO_ERROR_READ     902       /*Input/Output error has occurred while
  475.                      reading */
  476. #define        PE_IO_ERROR_WRITE    903       /*Input/Output error has occurred while
  477.                      writing */
  478. #define        PE_IO_ERROR_TO_WS     904       /*Input/Output error has occurred while
  479.                      sending data to a workstation */
  480. #define        PE_IO_ERROR_FROM_WS     905       /*Input/Output error has occurred while
  481.                      receiving data from a workstation */
  482. #define        PE_IO_ERROR_LIB     906       /*Input/Output error has occurred during
  483.                      program library management */
  484. #define        PE_IO_ERROR_WDT     907       /*Input/Output error has occurred while
  485.                      reading workstation description table */
  486. #define        PE_ARITHMETIC_ERROR      908       /*Arithmetic error has occurred */
  487.  
  488. /* C Binding specific errors */
  489. #define        PE_START_IND_INVAL   2200    /*Buffer overflow in input or inquiry
  490.                                      function */
  491. #define        PE_LIST_LEN_LT_ZERO   2201    /*Start index out of range */
  492. #define        PE_ENUM_TYPE_INVAL      2202    /* Enumeration type out of range */
  493.  
  494. /* FORTRAN Binding specific errors - these are defined here only to allow
  495.    translation of fortran binding error numbers to messages */
  496. #define        PE_FTN_2000   2000    /*Ignoring function, enumeration type out of
  497.                      range */
  498. #define        PE_FTN_2001   2001    /*Ignoring function, output parameter size
  499.                      insufficient */
  500. #define        PE_FTN_2002   2002    /*Ignoring function, list or set element
  501.                      not available */
  502. #define        PE_FTN_2003   2003    /*Ignoring function, invalid data record */
  503. #define        PE_FTN_2004   2004    /*Ignoring function, input parameter size
  504.                      out of range */
  505. #define        PE_FTN_2005   2005    /*Ignoring function, invalid list of point
  506.                      lists */
  507. #define        PE_FTN_2006   2006    /*Ignoring function, invalid list of 
  508.                      filters */
  509.