Class InvalidGuildSlashCommandException
An exception that should be thrown when a SlashCommandGuildAttribute is incorrectly used.
Inheritance
System.Object
System.Exception
InvalidGuildSlashCommandException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Color_Chan.Discord.Commands.Exceptions
Assembly: Color-Chan.Discord.Commands.dll
Syntax
public class InvalidGuildSlashCommandException : Exception, ISerializable
Constructors
| Improve this Doc View SourceInvalidGuildSlashCommandException(String)
Initializes a new instance of UpdateSlashCommandException.
Declaration
public InvalidGuildSlashCommandException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The exception message. |
Implements
System.Runtime.Serialization.ISerializable