Table of Contents

Struct FileLoaderError

Namespace
GtkSource
Assembly
GtkSource-5.dll

Contains all error codes of the FileLoaderError error-domain.

public readonly ref struct FileLoaderError
Inherited Members

Constructors

FileLoaderError(int)

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

public FileLoaderError(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 "FileLoaderError" error-domain.

public static Quark Any { get; }

Property Value

Quark

ConversionFallback

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

public static FileLoaderError ConversionFallback { get; }

Property Value

FileLoaderError

EncodingAutoDetectionFailed

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

public static FileLoaderError EncodingAutoDetectionFailed { get; }

Property Value

FileLoaderError

TooBig

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

public static FileLoaderError TooBig { get; }

Property Value

FileLoaderError

Operators

implicit operator ErrorCode(FileLoaderError)

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

public static implicit operator ErrorCode(FileLoaderError e)

Parameters

e FileLoaderError

Returns

ErrorCode