PEXOCErrorEvent


     /* similar to XErrorEvent -
        use to access additional info in OC error */
 
   typedef struct {
         int                type;
         Display            *display;
         XID                resourceid;
         unsigned long      serial;
         unsigned char      error_code;
         unsigned char      request_code;
         unsigned char      minor_code;
         unsigned short     op_code;
         unsigned short     count;
   } PEXOCErrorEvent;
 

For a list of data structures for Error Events, see Data Structures for Error Events.