dbusErrorRegisterError

fun dbusErrorRegisterError(errorDomain: <Error class: unknown class>, errorCode: Int, dbusErrorName: String): Boolean

Creates an association to map between @dbus_error_name and #GErrors specified by @error_domain and @error_code.

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

Return

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

Since

2.26

Parameters

errorDomain

A #GQuark for an error domain.

errorCode

An error code.

dbusErrorName

A D-Bus error name.