Gio.DBusError.is_remote_error

function is_remote_error(error: GLib.Error): Boolean {
    // Gjs wrapper for g_dbus_error_is_remote_error()
}
  

Checks if error represents an error received via D-Bus from a remote peer. If so, use Gio.dbus_error_get_remote_error to get the name of the error.

Since 2.26

error

A GLib.Error.

Returns

true if error represents an error from a remote peer, false otherwise.