moaxcp / x11

An x11 protocol implementation and client for the jvm
MIT License
18 stars 3 forks source link

Implement error messages #15

Open moaxcp opened 3 years ago

moaxcp commented 3 years ago

The raw XErrror only contains a few codes to get the correct error message.

WindowError(sequenceNumber=36, badValue=0, minorOpcode=0, majorOpcode=1)

It is up to the client to use those codes to generate an error message. This story is to discuss and implement error messages.

X11lib uses ErrDec to generate the messages. It uses some methods which read an errordb file.