Download.connectFailed

gulong connectFailed(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] == glib.error.ErrorWrap))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : webkit.download.Download))) && Parameters!T.length < 3)

Connect to Failed signal.

This signal is emitted when an error occurs during the download operation. The given error, of the domain WEBKIT_DOWNLOAD_ERROR, contains further details of the failure. If the download is cancelled with [webkit.download.Download.cancel], this signal is emitted with error [webkit.types.DownloadError.CancelledByUser]. The download operation finishes after an error and #WebKitDownload::finished signal is emitted after this one.

Parameters

callbacksignal callback delegate or function to connect void callback(glib.error.ErrorWrap error, webkit.download.Download download) error the #GError that was triggered (optional) download 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