Table of Contents

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

message string
innerException Exception
peerMessage string

ChannelWarningException(string, ChannelId?, Exception, string?)

public ChannelWarningException(string message, ChannelId? channelId, Exception innerException, string? peerMessage = null)

Parameters

message string
channelId ChannelId?
innerException Exception
peerMessage string

ChannelWarningException(string, ChannelId?, string?)

public ChannelWarningException(string message, ChannelId? channelId, string? peerMessage = null)

Parameters

message string
channelId ChannelId?
peerMessage string

ChannelWarningException(string, string?)

public ChannelWarningException(string message, string? peerMessage = null)

Parameters

message string
peerMessage string

Properties

ChannelId

public ChannelId? ChannelId { get; }

Property Value

ChannelId?

PeerMessage

public string? PeerMessage { get; }

Property Value

string