Class ComponentInteractionResultException
An exception that should be thrown when a component interaction failed to execute and has not properly been handled.
Inheritance
System.Object
System.Exception
ComponentInteractionResultException
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 ComponentInteractionResultException : Exception, ISerializable
Constructors
| Improve this Doc View SourceComponentInteractionResultException(String)
Initializes a new instance of ComponentInteractionResultException.
Declaration
public ComponentInteractionResultException(string errorMessage)
Parameters
Type | Name | Description |
---|---|---|
System.String | errorMessage | The error message of the exception. |
Implements
System.Runtime.Serialization.ISerializable