DBusError.stripRemoteError

Looks for extra information in the error message used to recover the D-Bus error name and strips it if found. If stripped, the message field in @error will correspond exactly to what was received on the wire.

This is typically used when presenting errors to the end user.

struct DBusError
static
bool
stripRemoteError

Parameters

error ErrorG

A #GError.

Return Value

Type: bool

%TRUE if information was stripped, %FALSE otherwise.

Meta

Since

2.26