Struct NetworkError
- Namespace
- WebKit
- Assembly
- WebKit-6.0.dll
Contains all error codes of the NetworkError error-domain.
public readonly ref struct NetworkError
- Inherited Members
Constructors
NetworkError(int)
Creates a new error in the NetworkError domain with a given error code.
public NetworkError(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 "NetworkError" error-domain.
public static Quark Any { get; }
Property Value
Cancelled
Can be used to match a GException with the "Cancelled" code (302).
public static NetworkError Cancelled { get; }
Property Value
Failed
Can be used to match a GException with the "Failed" code (399).
public static NetworkError Failed { get; }
Property Value
FileDoesNotExist
Can be used to match a GException with the "FileDoesNotExist" code (303).
public static NetworkError FileDoesNotExist { get; }
Property Value
Transport
Can be used to match a GException with the "Transport" code (300).
public static NetworkError Transport { get; }
Property Value
UnknownProtocol
Can be used to match a GException with the "UnknownProtocol" code (301).
public static NetworkError UnknownProtocol { get; }
Property Value
Operators
implicit operator ErrorCode(NetworkError)
Converts a NetworkError into a ErrorCode which can be used to match a GException.
public static implicit operator ErrorCode(NetworkError e)