Table of Contents

Struct DownloadError

Namespace
WebKit
Assembly
WebKit-6.0.dll

Contains all error codes of the DownloadError error-domain.

public readonly ref struct DownloadError
Inherited Members

Constructors

DownloadError(int)

Creates a new error in the DownloadError domain with a given error code.

public DownloadError(int errorCode)

Parameters

errorCode int

A specific error code of the domain

Properties

Any

Can be used to match a GException with any error code of the "DownloadError" error-domain.

public static Quark Any { get; }

Property Value

Quark

CancelledByUser

Can be used to match a GException with the "CancelledByUser" code (400).

public static DownloadError CancelledByUser { get; }

Property Value

DownloadError

Destination

Can be used to match a GException with the "Destination" code (401).

public static DownloadError Destination { get; }

Property Value

DownloadError

Network

Can be used to match a GException with the "Network" code (499).

public static DownloadError Network { get; }

Property Value

DownloadError

Operators

implicit operator ErrorCode(DownloadError)

Converts a DownloadError into a ErrorCode which can be used to match a GException.

public static implicit operator ErrorCode(DownloadError e)

Parameters

e DownloadError

Returns

ErrorCode