Show / Hide Table of Contents

Class ConnectHandlerFailedException

The client gave up because its own OnConnected handler kept failing.

Inheritance
object
Exception
XrplException
NotConnectedException
ConnectHandlerFailedException
Inherited Members
NotConnectedException.DefaultMessage
Namespace: Xrpl.Client.Exceptions
Assembly: Xrpl.dll
Syntax
public class ConnectHandlerFailedException : NotConnectedException
Remarks

The node answered and the socket opened; what failed is consumer code running on this side, so moving to another server would be moving away from a healthy endpoint. The handler's own failure is kept in System.Exception.InnerException.

Constructors

| Edit this page View Source

ConnectHandlerFailedException(string, int, Exception?)

Declaration
public ConnectHandlerFailedException(string message, int failures, Exception? innerException = null)
Parameters
Type Name Description
string message
int failures
Exception innerException

Properties

| Edit this page View Source

Failures

How many times in a row the handler failed before the client gave up.

Declaration
public int Failures { get; }
Property Value
Type Description
int

Extension Methods

XrplErrorClassifier.Classify(Exception)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX