Table of Contents

Delegate OnErrorEvent

Namespace
DiscordRPC.Events
Assembly
DiscordRPC.dll

Called when a error has occured during the transmission of a message. For example, if a bad Rich Presence payload is sent, this event will be called explaining what went wrong.

public delegate void OnErrorEvent(object sender, ErrorMessage args)

Parameters

sender object

The Discord client handler that sent this event

args ErrorMessage

The arguments supplied with the event