Show / Hide Table of Contents

Class ConnectionClosedPermanentlyException

The node closed the connection with a status code this client does not reconnect after, and no reconnect was started.

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

Distinct from ClientDisconnectedException, which says the consumer took the client down, and from ReconnectExhaustedException, which says this client tried and ran out of budget. Here nothing was tried, because the close code said retrying against this server is pointless - a protocol error, an unacceptable payload, a policy violation. Reconnecting to the same endpoint is the one reaction that is certainly wrong; a consumer with another server should use it, and one without should surface the close.

The status stream reports the same event as ConnectionStopReason.ClosedPermanently.

Constructors

| Edit this page View Source

ConnectionClosedPermanentlyException(string)

Declaration
public ConnectionClosedPermanentlyException(string message = null)
Parameters
Type Name Description
string message

Extension Methods

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