ObjectWrap.defaultError

void defaultError(glib.error.ErrorWrap error, string debug_ = null)

A default error function that uses [glib.global.printerr] to display the error message and the optional debug string..

The default handler will simply print the error string using g_print.

Parameters

errorthe GError.
debug_an additional debug information string, or null