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