Table of Contents

Struct SpawnError

Namespace
GLib
Assembly
GLib-2.0.dll

Contains all error codes of the SpawnError error-domain.

public readonly ref struct SpawnError
Inherited Members

Constructors

SpawnError(int)

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

public SpawnError(int errorCode)

Parameters

errorCode int

A specific error code of the domain

Properties

Acces

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

public static SpawnError Acces { get; }

Property Value

SpawnError

Any

Can be used to match a GException with any error code of the "SpawnError" error-domain.

public static Quark Any { get; }

Property Value

Quark

Chdir

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

public static SpawnError Chdir { get; }

Property Value

SpawnError

Failed

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

public static SpawnError Failed { get; }

Property Value

SpawnError

Fork

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

public static SpawnError Fork { get; }

Property Value

SpawnError

Inval

Can be used to match a GException with the "Inval" code (16).

public static SpawnError Inval { get; }

Property Value

SpawnError

Io

Can be used to match a GException with the "Io" code (13).

public static SpawnError Io { get; }

Property Value

SpawnError

Isdir

Can be used to match a GException with the "Isdir" code (17).

public static SpawnError Isdir { get; }

Property Value

SpawnError

Libbad

Can be used to match a GException with the "Libbad" code (18).

public static SpawnError Libbad { get; }

Property Value

SpawnError

Loop

Can be used to match a GException with the "Loop" code (11).

public static SpawnError Loop { get; }

Property Value

SpawnError

Mfile

Can be used to match a GException with the "Mfile" code (15).

public static SpawnError Mfile { get; }

Property Value

SpawnError

Nametoolong

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

public static SpawnError Nametoolong { get; }

Property Value

SpawnError

Nfile

Can be used to match a GException with the "Nfile" code (14).

public static SpawnError Nfile { get; }

Property Value

SpawnError

Noent

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

public static SpawnError Noent { get; }

Property Value

SpawnError

Noexec

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

public static SpawnError Noexec { get; }

Property Value

SpawnError

Nomem

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

public static SpawnError Nomem { get; }

Property Value

SpawnError

Notdir

Can be used to match a GException with the "Notdir" code (10).

public static SpawnError Notdir { get; }

Property Value

SpawnError

Perm

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

public static SpawnError Perm { get; }

Property Value

SpawnError

Read

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

public static SpawnError Read { get; }

Property Value

SpawnError

TooBig

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

public static SpawnError TooBig { get; }

Property Value

SpawnError

TwoBig

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

public static SpawnError TwoBig { get; }

Property Value

SpawnError

Txtbusy

Can be used to match a GException with the "Txtbusy" code (12).

public static SpawnError Txtbusy { get; }

Property Value

SpawnError

Operators

implicit operator ErrorCode(SpawnError)

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

public static implicit operator ErrorCode(SpawnError e)

Parameters

e SpawnError

Returns

ErrorCode