Class BadRequestException
Represents an exception thrown when a malformed request is sent.
Inherited Members
Namespace: KSharpPlus.Exceptions
Assembly: KSharpPlus.dll
Syntax
public class BadRequestException : KuracordException
Properties
| Improve this Doc View SourceCode
Gets the error code for this exception.
Declaration
public int Code { get; }
Property Value
Type | Description |
---|---|
Int32 |
Errors
Gets the form error responses in JSON format.
Declaration
public string Errors { get; }
Property Value
Type | Description |
---|---|
String |