Function

Gio-2.0Giodbus_error_register_errorSince 2.26

  • Creates an association mapping between dbus_error_name and GLib.Errors specified by error_domain and error_code.

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

    Parameters

    • error_domain: number

      a GLib.Quark for an error domain

    • error_code: number

      an error code

    • dbus_error_name: string

      a D-Bus error name

    Returns boolean

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

    2.26