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
errorCodeintA 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
CancelledByUser
Can be used to match a GException with the "CancelledByUser" code (400).
public static DownloadError CancelledByUser { get; }
Property Value
Destination
Can be used to match a GException with the "Destination" code (401).
public static DownloadError Destination { get; }
Property Value
Network
Can be used to match a GException with the "Network" code (499).
public static DownloadError Network { get; }
Property Value
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)