Table of Contents

Struct FileError

Namespace
GLib
Assembly
GLib-2.0.dll

Contains all error codes of the FileError error-domain.

public readonly ref struct FileError
Inherited Members

Constructors

FileError(int)

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

public FileError(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 (2).

public static FileError Acces { get; }

Property Value

FileError

Again

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

public static FileError Again { get; }

Property Value

FileError

Any

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

public static Quark Any { get; }

Property Value

Quark

Badf

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

public static FileError Badf { get; }

Property Value

FileError

Exist

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

public static FileError Exist { get; }

Property Value

FileError

Failed

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

public static FileError Failed { get; }

Property Value

FileError

Fault

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

public static FileError Fault { get; }

Property Value

FileError

Intr

Can be used to match a GException with the "Intr" code (20).

public static FileError Intr { get; }

Property Value

FileError

Inval

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

public static FileError Inval { get; }

Property Value

FileError

Io

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

public static FileError Io { get; }

Property Value

FileError

Isdir

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

public static FileError Isdir { get; }

Property Value

FileError

Loop

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

public static FileError Loop { get; }

Property Value

FileError

Mfile

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

public static FileError Mfile { get; }

Property Value

FileError

Nametoolong

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

public static FileError Nametoolong { get; }

Property Value

FileError

Nfile

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

public static FileError Nfile { get; }

Property Value

FileError

Nodev

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

public static FileError Nodev { get; }

Property Value

FileError

Noent

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

public static FileError Noent { get; }

Property Value

FileError

Nomem

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

public static FileError Nomem { get; }

Property Value

FileError

Nospc

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

public static FileError Nospc { get; }

Property Value

FileError

Nosys

Can be used to match a GException with the "Nosys" code (23).

public static FileError Nosys { get; }

Property Value

FileError

Notdir

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

public static FileError Notdir { get; }

Property Value

FileError

Nxio

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

public static FileError Nxio { get; }

Property Value

FileError

Perm

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

public static FileError Perm { get; }

Property Value

FileError

Pipe

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

public static FileError Pipe { get; }

Property Value

FileError

Rofs

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

public static FileError Rofs { get; }

Property Value

FileError

Txtbsy

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

public static FileError Txtbsy { get; }

Property Value

FileError

Operators

implicit operator ErrorCode(FileError)

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

public static implicit operator ErrorCode(FileError e)

Parameters

e FileError

Returns

ErrorCode