DBusError.isRemoteError

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.

struct DBusError
static
bool
isRemoteError

Parameters

error glib.error.ErrorWrap

A #GError.

Return Value

Type: bool

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