Table of Contents

Class IncompatibleServerException

Namespace
Nyra.Exceptions
Assembly
Nyra.dll

The connected server does not expose /v4/info, did not report a version, is below the minimum supported version, or answered with a body that is not JSON.

public sealed class IncompatibleServerException : NyraException, ISerializable
Inheritance
IncompatibleServerException
Implements
Inherited Members

Remarks

The floors live in MinimumLavalink and MinimumNodeLink, the message carries them at throw time.

Constructors

IncompatibleServerException(string, Exception?)

Creates the exception.

public IncompatibleServerException(string message, Exception? innerException = null)

Parameters

message string

The message that describes the error.

innerException Exception

The exception that caused this one, null when there is none.