Class ChannelWarningException
- Namespace
- NLightning.Domain.Exceptions
- Assembly
- NLightning.Domain.dll
Represents an exception thrown when a channel error occurs.
public class ChannelWarningException : WarningException, ISerializable
- Inheritance
-
ChannelWarningException
- Implements
- Inherited Members
Remarks
We usually want to close the connection when this exception is thrown.
Constructors
ChannelWarningException(string, Exception, string?)
public ChannelWarningException(string message, Exception innerException, string? peerMessage = null)
Parameters
ChannelWarningException(string, ChannelId?, Exception, string?)
public ChannelWarningException(string message, ChannelId? channelId, Exception innerException, string? peerMessage = null)
Parameters
ChannelWarningException(string, ChannelId?, string?)
public ChannelWarningException(string message, ChannelId? channelId, string? peerMessage = null)
Parameters
ChannelWarningException(string, string?)
public ChannelWarningException(string message, string? peerMessage = null)
Parameters
Properties
ChannelId
public ChannelId? ChannelId { get; }
Property Value
PeerMessage
public string? PeerMessage { get; }