Table of Contents

Class NodeErrorEventArgs

Namespace
Nyra.EventArgs
Assembly
Nyra.dll

Raised for internal client errors, malformed payloads from the server, ready timeouts, failed REST calls to the node, gateway leave failures, filter chains the server keeps diverging from and fatal supervision failures.

public sealed class NodeErrorEventArgs : EventArgs
Inheritance
NodeErrorEventArgs
Inherited Members

Remarks

Reconnect failures log separately, a throwing handler is caught and logged, playback errors surface through the guild connection instead.

Constructors

NodeErrorEventArgs(Exception, Node)

Initializes the event args with the reported error.

public NodeErrorEventArgs(Exception exception, Node node)

Parameters

exception Exception

The exception describing the error.

node Node

The node the error was raised for.

Exceptions

ArgumentNullException

exception or node is null.

Properties

Exception

The exception describing the error.

public Exception Exception { get; }

Property Value

Exception

Node

The node the error was raised for.

public Node Node { get; }

Property Value

Node