Struct RecentManagerError
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
Contains all error codes of the RecentManagerError error-domain.
public readonly ref struct RecentManagerError
- Inherited Members
Constructors
RecentManagerError(int)
Creates a new error in the RecentManagerError domain with a given error code.
public RecentManagerError(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 "RecentManagerError" error-domain.
public static Quark Any { get; }
Property Value
InvalidEncoding
Can be used to match a GException with the "InvalidEncoding" code (2).
public static RecentManagerError InvalidEncoding { get; }
Property Value
InvalidUri
Can be used to match a GException with the "InvalidUri" code (1).
public static RecentManagerError InvalidUri { get; }
Property Value
NotFound
Can be used to match a GException with the "NotFound" code (0).
public static RecentManagerError NotFound { get; }
Property Value
NotRegistered
Can be used to match a GException with the "NotRegistered" code (3).
public static RecentManagerError NotRegistered { get; }
Property Value
Read
Can be used to match a GException with the "Read" code (4).
public static RecentManagerError Read { get; }
Property Value
Unknown
Can be used to match a GException with the "Unknown" code (6).
public static RecentManagerError Unknown { get; }
Property Value
Write
Can be used to match a GException with the "Write" code (5).
public static RecentManagerError Write { get; }
Property Value
Operators
implicit operator ErrorCode(RecentManagerError)
Converts a RecentManagerError into a ErrorCode which can be used to match a GException.
public static implicit operator ErrorCode(RecentManagerError e)