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
objectThe Discord client handler that sent this event
args
ErrorMessageThe arguments supplied with the event