register_error


Description:

public static bool register_error (Quark error_domain, int error_code, string dbus_error_name)

Creates an association to map between dbus_error_name and Errors specified by error_domain and error_code.

This is typically done in the routine that returns the Quark for an error domain.

Parameters:

error_domain

A Quark for an error domain.

error_code

An error code.

dbus_error_name

A D-Bus error name.

Returns:

true if the association was created, false if it already exists.