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
ConnectionClosedPermanentlyException
Inherited Members
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 SourceConnectionClosedPermanentlyException(string)
Declaration
public ConnectionClosedPermanentlyException(string message = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message |