Search Results for

    Show / Hide Table of Contents

    Class NoOptionAttributeArgumentException

    An exception that should be thrown when a parameter for a command is missing the SlashCommandOptionAttribute.

    Inheritance
    System.Object
    System.Exception
    System.SystemException
    System.ArgumentException
    NoOptionAttributeArgumentException
    Implements
    System.Runtime.Serialization.ISerializable
    Inherited Members
    System.ArgumentException.ThrowIfNullOrEmpty(System.String, System.String)
    System.ArgumentException.ThrowIfNullOrWhiteSpace(System.String, System.String)
    System.ArgumentException.Message
    System.ArgumentException.ParamName
    System.Exception.GetBaseException()
    System.Exception.GetType()
    System.Exception.ToString()
    System.Exception.Data
    System.Exception.HelpLink
    System.Exception.HResult
    System.Exception.InnerException
    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 NoOptionAttributeArgumentException : ArgumentException, ISerializable

    Constructors

    | Improve this Doc View Source

    NoOptionAttributeArgumentException(String)

    Initializes a new instance of NoOptionAttributeArgumentException.

    Declaration
    public NoOptionAttributeArgumentException(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