DBusError.isRemoteError

bool isRemoteError(glib.error.ErrorWrap error)

Checks if error represents an error received via D-Bus from a remote peer. If so, use [gio.global.dbusErrorGetRemoteError] to get the name of the error.

Parameters

errorA #GError.

Returns

true if error represents an error from a remote peer,

false otherwise.