Discore
Show / Hide Table of Contents

Class DiscordHttpApiException

An exception representing an error sent by the Discord HTTP API.

Inheritance
object
Exception
DiscordHttpApiException
DiscordHttpRateLimitException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Discore.Http
Assembly: Discore.dll
Syntax
public class DiscordHttpApiException : Exception, ISerializable

Properties

Name Description
ErrorCode

Gets the custom Discord HTTP error code.

Errors

Gets the error messages and error codes for each form field, if any.

HttpStatusCode

Gets the HTTP status code associated with the error.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX