Search Results for

    Show / Hide Table of Contents

    Class KuracordException

    Inheritance
    Object
    KuracordException
    BadRequestException
    NotFoundException
    RequestSizeException
    ServerErrorException
    UnauthorizedException
    Namespace: KSharpPlus.Exceptions
    Assembly: KSharpPlus.dll
    Syntax
    public abstract class KuracordException : Exception

    Constructors

    | Improve this Doc View Source

    KuracordException()

    Declaration
    public KuracordException()
    | Improve this Doc View Source

    KuracordException(String)

    Declaration
    public KuracordException(string message)
    Parameters
    Type Name Description
    String message
    | Improve this Doc View Source

    KuracordException(String, Exception)

    Declaration
    public KuracordException(string message, Exception innerException)
    Parameters
    Type Name Description
    String message
    Exception innerException

    Properties

    | Improve this Doc View Source

    JsonMessage

    Gets the JSON message received.

    Declaration
    public string JsonMessage { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    WebRequest

    Gets the request that caused the exception.

    Declaration
    public BaseRestRequest WebRequest { get; }
    Property Value
    Type Description
    BaseRestRequest
    | Improve this Doc View Source

    WebResponse

    Gets the response to the request.

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