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
errorCodeintA 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
FailedRendering
Can be used to match a GException with the "FailedRendering" code (6).
public static SvgError FailedRendering { get; }
Property Value
FailedUpdate
Can be used to match a GException with the "FailedUpdate" code (5).
public static SvgError FailedUpdate { get; }
Property Value
IgnoredElement
Can be used to match a GException with the "IgnoredElement" code (7).
public static SvgError IgnoredElement { get; }
Property Value
InvalidAttribute
Can be used to match a GException with the "InvalidAttribute" code (2).
public static SvgError InvalidAttribute { get; }
Property Value
InvalidElement
Can be used to match a GException with the "InvalidElement" code (1).
public static SvgError InvalidElement { get; }
Property Value
InvalidReference
Can be used to match a GException with the "InvalidReference" code (4).
public static SvgError InvalidReference { get; }
Property Value
InvalidSyntax
Can be used to match a GException with the "InvalidSyntax" code (0).
public static SvgError InvalidSyntax { get; }
Property Value
LimitsExceeded
Can be used to match a GException with the "LimitsExceeded" code (8).
public static SvgError LimitsExceeded { get; }
Property Value
MissingAttribute
Can be used to match a GException with the "MissingAttribute" code (3).
public static SvgError MissingAttribute { get; }
Property Value
NotImplemented
Can be used to match a GException with the "NotImplemented" code (9).
public static SvgError NotImplemented { get; }
Property Value
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
eSvgError