Search Results for

    Show / Hide Table of Contents

    Class BadRequestException

    Represents an exception thrown when a malformed request is sent.

    Inheritance
    Object
    KuracordException
    BadRequestException
    Inherited Members
    KuracordException.WebRequest
    KuracordException.WebResponse
    KuracordException.JsonMessage
    Namespace: KSharpPlus.Exceptions
    Assembly: KSharpPlus.dll
    Syntax
    public class BadRequestException : KuracordException

    Properties

    | Improve this Doc View Source

    Code

    Gets the error code for this exception.

    Declaration
    public int Code { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    Errors

    Gets the form error responses in JSON format.

    Declaration
    public string Errors { get; }
    Property Value
    Type Description
    String
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2023 KSharpPlus Contributors