Murray Cumming Comneon com wrote:
From: Stefan Seefeld [mailto:seefeld sympatico ca] I'd suggest to start with a 'message type system', i.e. possibly something as simple as an 'error number'. Any form of meta data thathelps in the interpretation of the message. Formatting is secondary.GError seems to work quite well. And it maps quite well to exceptions for the C++ bindings.
what is GError ? Why add a dependency to glib (I take it that's what the 'G' stands for) ? I would think a simple unsigned int (or enum) may be enough. Stefan