function free(): void { // Gjs wrapper for g_error_free() }
Frees a GLib.Error and associated resources.