> > 2. Is it possible to attach additional information to GError (file where
> > the error came from, line and column)? If not, what is the standard way
> > to report these?
> No, GError::message is designed to be displayed on screen, error
> targeted to developers shall be displayed in the terminal (probably
> using g_error, or assertions). The domain and code shall be used
> whenever run-time handling of the error shall be made. 

I'm implementing a parser and want it to report line and column of parse
errors (not where the g_set_error was in the .c file) and already know
that GError is not extensible.

What is the standard way of reporting additional error information in
GObject?

_______________________________________________
desktop-devel-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/desktop-devel-list

Reply via email to