Table of Contents

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

ErrorCode

Message

The message associated with the error code.

[JsonProperty("message")]
public string Message { get; }

Property Value

string

Type

The type of message received from discord

public override MessageType Type { get; }

Property Value

MessageType