get_remote_error


Description:

public static string get_remote_error (Error error)

Gets the D-Bus error name used for error, if any.

This function is guaranteed to return a D-Bus error name for all Errors returned from functions handling remote method calls (e.g. call.end) unless strip_remote_error has been used on error.

Parameters:

error

a Error

Returns:

an allocated string or null if the D-Bus error name could not be found. Free with g_free.