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