gi-gio
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gio.Structs.DBusErrorEntry

Description

Struct used in dbusErrorRegisterErrorDomain.

Since: 2.26

Synopsis

Exported types

newtype DBusErrorEntry Source #

Memory-managed wrapper type.

Instances

Instances details
Eq DBusErrorEntry Source # 
Instance details

Defined in GI.Gio.Structs.DBusErrorEntry

BoxedPtr DBusErrorEntry Source # 
Instance details

Defined in GI.Gio.Structs.DBusErrorEntry

CallocPtr DBusErrorEntry Source # 
Instance details

Defined in GI.Gio.Structs.DBusErrorEntry

ManagedPtrNewtype DBusErrorEntry Source # 
Instance details

Defined in GI.Gio.Structs.DBusErrorEntry

tag ~ 'AttrSet => Constructible DBusErrorEntry tag Source # 
Instance details

Defined in GI.Gio.Structs.DBusErrorEntry

HasAttributeList DBusErrorEntry Source # 
Instance details

Defined in GI.Gio.Structs.DBusErrorEntry

(info ~ ResolveDBusErrorEntryMethod t DBusErrorEntry, OverloadedMethod info DBusErrorEntry p, HasField t DBusErrorEntry p) => HasField (t :: Symbol) DBusErrorEntry (p :: Type) Source # 
Instance details

Defined in GI.Gio.Structs.DBusErrorEntry

Methods

getField :: DBusErrorEntry -> p #

(info ~ ResolveDBusErrorEntryMethod t DBusErrorEntry, OverloadedMethodInfo info DBusErrorEntry) => IsLabel t (MethodProxy info DBusErrorEntry) Source # 
Instance details

Defined in GI.Gio.Structs.DBusErrorEntry

(info ~ ResolveDBusErrorEntryMethod t DBusErrorEntry, OverloadedMethod info DBusErrorEntry p) => IsLabel t (DBusErrorEntry -> p) Source # 
Instance details

Defined in GI.Gio.Structs.DBusErrorEntry

Methods

fromLabel :: DBusErrorEntry -> p #

type AttributeList DBusErrorEntry Source # 
Instance details

Defined in GI.Gio.Structs.DBusErrorEntry

newZeroDBusErrorEntry :: MonadIO m => m DBusErrorEntry Source #

Construct a DBusErrorEntry struct initialized to zero.

Methods

Properties

dbusErrorName

The D-Bus error name to associate with errorCode.

clearDBusErrorEntryDbusErrorName :: MonadIO m => DBusErrorEntry -> m () Source #

Set the value of the “dbus_error_name” field to Nothing. When overloading is enabled, this is equivalent to

clear #dbusErrorName

getDBusErrorEntryDbusErrorName :: MonadIO m => DBusErrorEntry -> m (Maybe Text) Source #

Get the value of the “dbus_error_name” field. When overloading is enabled, this is equivalent to

get dBusErrorEntry #dbusErrorName

setDBusErrorEntryDbusErrorName :: MonadIO m => DBusErrorEntry -> CString -> m () Source #

Set the value of the “dbus_error_name” field. When overloading is enabled, this is equivalent to

set dBusErrorEntry [ #dbusErrorName := value ]

errorCode

An error code.

getDBusErrorEntryErrorCode :: MonadIO m => DBusErrorEntry -> m Int32 Source #

Get the value of the “error_code” field. When overloading is enabled, this is equivalent to

get dBusErrorEntry #errorCode

setDBusErrorEntryErrorCode :: MonadIO m => DBusErrorEntry -> Int32 -> m () Source #

Set the value of the “error_code” field. When overloading is enabled, this is equivalent to

set dBusErrorEntry [ #errorCode := value ]