gio2: support error