Class ErrorMessage
- Namespace
- DiscordRPC.Message
- Assembly
- DiscordRPC.dll
Created when a error occurs within the ipc and it is sent to the client.
public class ErrorMessage : IMessage
- Inheritance
-
ErrorMessage
- Inherited Members
Properties
Code
The Discord error code.
[JsonProperty("code")]
public ErrorCode Code { get; }
Property Value
Message
The message associated with the error code.
[JsonProperty("message")]
public string Message { get; }
Property Value
Type
The type of message received from discord
public override MessageType Type { get; }