Table of Contents

Struct SvgError

Namespace
Gtk
Assembly
Gtk-4.0.dll

Contains all error codes of the SvgError error-domain.

public readonly ref struct SvgError
Inherited Members

Constructors

SvgError(int)

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

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

public static Quark Any { get; }

Property Value

Quark

FailedRendering

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

public static SvgError FailedRendering { get; }

Property Value

SvgError

FailedUpdate

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

public static SvgError FailedUpdate { get; }

Property Value

SvgError

IgnoredElement

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

public static SvgError IgnoredElement { get; }

Property Value

SvgError

InvalidAttribute

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

public static SvgError InvalidAttribute { get; }

Property Value

SvgError

InvalidElement

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

public static SvgError InvalidElement { get; }

Property Value

SvgError

InvalidReference

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

public static SvgError InvalidReference { get; }

Property Value

SvgError

InvalidSyntax

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

public static SvgError InvalidSyntax { get; }

Property Value

SvgError

LimitsExceeded

Can be used to match a GException with the "LimitsExceeded" code (8).

public static SvgError LimitsExceeded { get; }

Property Value

SvgError

MissingAttribute

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

public static SvgError MissingAttribute { get; }

Property Value

SvgError

NotImplemented

Can be used to match a GException with the "NotImplemented" code (9).

public static SvgError NotImplemented { get; }

Property Value

SvgError

Operators

implicit operator ErrorCode(SvgError)

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

public static implicit operator ErrorCode(SvgError e)

Parameters

e SvgError

Returns

ErrorCode