Table of Contents

Struct LibraryError

Namespace
Gst
Assembly
Gst-1.0.dll

Contains all error codes of the LibraryError error-domain.

public readonly ref struct LibraryError
Inherited Members

Constructors

LibraryError(int)

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

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

public static Quark Any { get; }

Property Value

Quark

Encode

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

public static LibraryError Encode { get; }

Property Value

LibraryError

Failed

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

public static LibraryError Failed { get; }

Property Value

LibraryError

Init

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

public static LibraryError Init { get; }

Property Value

LibraryError

NumErrors

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

public static LibraryError NumErrors { get; }

Property Value

LibraryError

Settings

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

public static LibraryError Settings { get; }

Property Value

LibraryError

Shutdown

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

public static LibraryError Shutdown { get; }

Property Value

LibraryError

TooLazy

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

public static LibraryError TooLazy { get; }

Property Value

LibraryError

Operators

implicit operator ErrorCode(LibraryError)

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

public static implicit operator ErrorCode(LibraryError e)

Parameters

e LibraryError

Returns

ErrorCode