isRemoteError

fun isRemoteError(error: <Error class: unknown class>): Boolean

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

Return

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

Since

2.26

Parameters

error

A #GError.