glib style error reporting