Class NodeErrorEventArgs
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
exceptionExceptionThe exception describing the error.
nodeNodeThe node the error was raised for.
Exceptions
- ArgumentNullException
exceptionornodeis null.
Properties
Exception
The exception describing the error.
public Exception Exception { get; }
Property Value
Node
The node the error was raised for.
public Node Node { get; }