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