Package-level declarations

Types

Link copied to clipboard

Thrown when the user does not have permissions for the attempted call.

Link copied to clipboard

Thrown when a request to the REST API was malformed or had bad data.

Link copied to clipboard

Thrown when there was some sort of communication issue between discord and diskord.

Link copied to clipboard

A generic discord exception.

Link copied to clipboard

Thrown when there was some sort of IO error communicating with discord.

Link copied to clipboard
Link copied to clipboard

Thrown when there was some sort of error with discord servers.

Link copied to clipboard

Thrown when the resource could not be found or the client uses an incorrect path. Probably the former.

Link copied to clipboard
class DiscordRateLimitException(message: String, val retryAfterSeconds: Double, val isGlobalRateLimit: Boolean) : DiscordHttpException

Thrown when a client calls an endpoint too many times.

Link copied to clipboard

Thrown when the token used is not valid or the user does not have permission to access this resource.

Link copied to clipboard
@Serializable
data class RateLimitExceeded(val message: String, val retryAfterSeconds: Double, val isGlobal: Boolean)

Over the wire representation of a DiscordRateLimitException.