Connection.connectError

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

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

Parameters

callbacksignal 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)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID