Table of Contents

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

errorCode int

A 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

Quark

BadQuoting

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

public static ShellError BadQuoting { get; }

Property Value

ShellError

EmptyString

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

public static ShellError EmptyString { get; }

Property Value

ShellError

Failed

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

public static ShellError Failed { get; }

Property Value

ShellError

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)

Parameters

e ShellError

Returns

ErrorCode