Table of Contents

Struct FileSaverError

Namespace
GtkSource
Assembly
GtkSource-5.dll

Contains all error codes of the FileSaverError error-domain.

public readonly ref struct FileSaverError
Inherited Members

Constructors

FileSaverError(int)

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

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

public static Quark Any { get; }

Property Value

Quark

ExternallyModified

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

public static FileSaverError ExternallyModified { get; }

Property Value

FileSaverError

InvalidChars

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

public static FileSaverError InvalidChars { get; }

Property Value

FileSaverError

Operators

implicit operator ErrorCode(FileSaverError)

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

public static implicit operator ErrorCode(FileSaverError e)

Parameters

e FileSaverError

Returns

ErrorCode