Table of Contents

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

message string
innerException Exception
peerMessage string

ChannelErrorException(string, ChannelId?, Exception, string?)

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

Parameters

message string
channelId ChannelId?
innerException Exception
peerMessage string

ChannelErrorException(string, ChannelId?, string?)

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

Parameters

message string
channelId ChannelId?
peerMessage string

ChannelErrorException(string, string?)

public ChannelErrorException(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