Path: utzoo!attcan!uunet!ginosko!usc!bloom-beacon!AMD-16.HAC.COM!jbrac From: jbrac@AMD-16.HAC.COM (Jim Brackett) Newsgroups: comp.windows.x Subject: Extension errors Message-ID: <8909111846.AA02614@amd-16.hac.com> Date: 11 Sep 89 18:46:32 GMT Sender: root@bloom-beacon.MIT.EDU Organization: The Internet Lines: 8 In adding extensions, I wanted to make use of the standard X error handling (and reporting) and only provide extension error text by providing a routine which is defined by XESetErrorString. However, to do this I had to change _XPrintDefaultError (in XlibInt.c) to print the minor opcode and to return 0 (since the extension errors are non-terminal). Is there an alternative which doesn't require changing core routines (or doing all error handling/reporting in the extension).