DBusErrorEntry

constructor()

Allocate a new DBusErrorEntry.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.


constructor(scope: <Error class: unknown class>)

Allocate a new DBusErrorEntry using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

scope

The AutofreeScope to allocate this structure in.


constructor(errorCode: <Error class: unknown class>, dbusErrorName: String?)

Allocate a new DBusErrorEntry.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.

Parameters

errorCode

An error code.

dbusErrorName

The D-Bus error name to associate with @error_code.


constructor(errorCode: <Error class: unknown class>, dbusErrorName: String?, scope: <Error class: unknown class>)

Allocate a new DBusErrorEntry using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

errorCode

An error code.

dbusErrorName

The D-Bus error name to associate with @error_code.

scope

The AutofreeScope to allocate this structure in.


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)