Search Results for

    Show / Hide Table of Contents

    Class SlashCommandResultException

    An exception that should be thrown when a command failed to execute and has not properly been handled.

    Inheritance
    System.Object
    System.Exception
    SlashCommandResultException
    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 SlashCommandResultException : Exception, ISerializable

    Constructors

    | Improve this Doc View Source

    SlashCommandResultException(String)

    Initializes a new instance of SlashCommandResultException.

    Declaration
    public SlashCommandResultException(string errorMessage)
    Parameters
    Type Name Description
    System.String errorMessage

    The error message of the exception.

    Implements

    System.Runtime.Serialization.ISerializable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX