Connection.connectError

Connect to Error signal.

Gets emitted whenever a connection event occurs. Check the nature of event to see if it's an error or a simple notification

class Connection
ulong
connectError
(
T
)
(,
Flag!"After" after = No.After
)
if (
isCallable!T &&
is(ReturnType!T == void)
&&
(
Parameters!T.length < 1 ||
(
ParameterStorageClassTuple!T[0] == ParameterStorageClass.none &&
)
)
&&
(
Parameters!T.length < 2 ||
(
ParameterStorageClassTuple!T[1] == ParameterStorageClass.none &&
is(Parameters!T[1] : gda.connection.Connection)
)
)
&&
Parameters!T.length < 3
)

Parameters

callback T

signal callback delegate or function to connect

void callback(gda.connection_event.ConnectionEvent event, gda.connection.Connection connection)

event a #GdaConnectionEvent object (optional)

connection the instance the signal is connected to (optional)

after Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: ulong

Signal ID