Skip to content

discohook.errors

Classes

CheckFailure

discohook.errors.CheckFailure

Raised when a check fails.

Inheritance

  • builtins.Exception

HTTPException

discohook.errors.HTTPException

Raised when an HTTP request operation fails.

Inheritance

  • builtins.Exception

InteractionTypeMismatch

discohook.errors.InteractionTypeMismatch

Raised when the interaction type is not the expected type.

Inheritance

  • builtins.Exception

RateLimitExceeded

discohook.errors.RateLimitExceeded

Raised when a rate limit is exceeded.

Inheritance

  • builtins.Exception

UnknownInteractionType

discohook.errors.UnknownInteractionType

Raised when the interaction type is unknown.

Inheritance

  • builtins.Exception