Function

GioDBusErroris_remote_error

Declaration

gboolean
g_dbus_error_is_remote_error (
  const GError* error
)

Description

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.

Available since:2.26

Parameters

error GError
 

A GError.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if error represents an error from a remote peer, FALSE otherwise.