Lionel Ulmer lionel.ulmer@free.fr writes:
The only problems I could see with this approach is that :
- it cannot 'expect' more than one kind of error at the same time
I was thinking you could use a special value as a "wildcard" for the error codes, in which case it wouldn't be tested for a match.
- I am not sure that the parameters thing are really a good idea. Are we sure that the error code are the same on all X servers ? Are they standardized ?
They are part of the X spec AFAICT, so yes it should be pretty much standard.