Dissonity
Unity SDK for Discord activities
Loading...
Searching...
No Matches
Dissonity.CommandException Class Reference

This exception is thrown by the Api.Commands and Api.Subscribe methods when the Discord client sends an error response for a command.

More...

Inheritance diagram for Dissonity.CommandException:

Public Member Functions

 CommandException (string message, int code)
 

Properties

int Code [get]
 

Detailed Description

This exception is thrown by the Api.Commands and Api.Subscribe methods when the Discord client sends an error response for a command.

You can access the Message and Code fields for more information.

Constructor & Destructor Documentation

◆ CommandException()

Dissonity.CommandException.CommandException ( string message,
int code )
inline

Property Documentation

◆ Code

int Dissonity.CommandException.Code
get

The documentation for this class was generated from the following file: