Table of Contents

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

errorCode int

A 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

Quark

AppNotRegistered

Can be used to match a GException with the "AppNotRegistered" code (2).

public static BookmarkFileError AppNotRegistered { get; }

Property Value

BookmarkFileError

FileNotFound

Can be used to match a GException with the "FileNotFound" code (7).

public static BookmarkFileError FileNotFound { get; }

Property Value

BookmarkFileError

InvalidUri

Can be used to match a GException with the "InvalidUri" code (0).

public static BookmarkFileError InvalidUri { get; }

Property Value

BookmarkFileError

InvalidValue

Can be used to match a GException with the "InvalidValue" code (1).

public static BookmarkFileError InvalidValue { get; }

Property Value

BookmarkFileError

Read

Can be used to match a GException with the "Read" code (4).

public static BookmarkFileError Read { get; }

Property Value

BookmarkFileError

UnknownEncoding

Can be used to match a GException with the "UnknownEncoding" code (5).

public static BookmarkFileError UnknownEncoding { get; }

Property Value

BookmarkFileError

UriNotFound

Can be used to match a GException with the "UriNotFound" code (3).

public static BookmarkFileError UriNotFound { get; }

Property Value

BookmarkFileError

Write

Can be used to match a GException with the "Write" code (6).

public static BookmarkFileError Write { get; }

Property Value

BookmarkFileError

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)

Parameters

e BookmarkFileError

Returns

ErrorCode