Struct Error
- Namespace
- Rsvg
- Assembly
- Rsvg-2.0.dll
Contains all error codes of the Error error-domain.
public readonly ref struct Error
- Inherited Members
Constructors
Error(int)
Creates a new error in the Error domain with a given error code.
public Error(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 "Error" error-domain.
public static Quark Any { get; }
Property Value
Failed
Can be used to match a GException with the "Failed" code (0).
public static Error Failed { get; }
Property Value
Operators
implicit operator ErrorCode(Error)
Converts a Error into a ErrorCode which can be used to match a GException.
public static implicit operator ErrorCode(Error e)
Parameters
eError