void (*XESetPrintErrorValues(display, extension, proc))()
      Display *display;
      int extension;
      void (*proc)();
| display | Specifies the connection to the X server. | 
| extension | Specifies the extension number. | 
| proc | Specifies the procedure to call when an error is printed. | 
When Xlib needs to print an error, the procedure is called with these arguments:
void (*proc)(display, ev, fp)
	Display *display;
	XErrorEvent *ev;
	void *fp;
The structure pointed at by ev is guaranteed to be as large as an XEvent structure and so can be cast to a type larger than an XErrorEvent to obtain additional values set by using XESetWireToError(). The underlying type of the fp argument is system dependent; on a POSIX-compliant system, fp should be cast to type FILE*.