Class ErrorMessage
- Namespace
- NLightning.Domain.Protocol.Messages
- Assembly
- NLightning.Domain.dll
Represents an error message.
public sealed class ErrorMessage : BaseMessage, IMessage
- Inheritance
-
ErrorMessage
- Implements
- Inherited Members
Remarks
An error message is used to communicate an error to the other party. The message type is 17.
Constructors
ErrorMessage(ErrorPayload)
Represents an error message.
public ErrorMessage(ErrorPayload payload)
Parameters
payload
ErrorPayloadThe error payload.
Remarks
An error message is used to communicate an error to the other party. The message type is 17.
Properties
Payload
The payload of the message.
public ErrorPayload Payload { get; }