Table of Contents

Struct CssParserError

Namespace
Gtk
Assembly
Gtk-4.0.dll

Contains all error codes of the CssParserError error-domain.

public readonly ref struct CssParserError
Inherited Members

Constructors

CssParserError(int)

Creates a new error in the CssParserError domain with a given error code.

public CssParserError(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 "CssParserError" error-domain.

public static Quark Any { get; }

Property Value

Quark

Failed

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

public static CssParserError Failed { get; }

Property Value

CssParserError

Import

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

public static CssParserError Import { get; }

Property Value

CssParserError

Name

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

public static CssParserError Name { get; }

Property Value

CssParserError

Syntax

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

public static CssParserError Syntax { get; }

Property Value

CssParserError

UnknownValue

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

public static CssParserError UnknownValue { get; }

Property Value

CssParserError

Operators

implicit operator ErrorCode(CssParserError)

Converts a CssParserError into a ErrorCode which can be used to match a GException.

public static implicit operator ErrorCode(CssParserError e)

Parameters

e CssParserError

Returns

ErrorCode