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

This exception is thrown by the Api.Initialize method when the application runs outside the Discord client.

More...

Inheritance diagram for Dissonity.OutsideDiscordException:

Public Member Functions

 OutsideDiscordException ()
 
 OutsideDiscordException (string message)
 

Detailed Description

This exception is thrown by the Api.Initialize method when the application runs outside the Discord client.

You may use it to detect whether the app is running inside Discord or in a browser.

Constructor & Destructor Documentation

◆ OutsideDiscordException() [1/2]

Dissonity.OutsideDiscordException.OutsideDiscordException ( )
inline

◆ OutsideDiscordException() [2/2]

Dissonity.OutsideDiscordException.OutsideDiscordException ( string message)
inline

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