Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oasis/tests/deps.ts>Errors

An object oriented Discordeno framework
Latest
enum Errors
Re-export
import { Errors } from "https://deno.land/x/oasis@2.1.0/tests/deps.ts";

Members

BOTS_HIGHEST_ROLE_TOO_LOW = "BOTS_HIGHEST_ROLE_TOO_LOW"
BUTTON_REQUIRES_CUSTOM_ID = "BUTTON_REQUIRES_CUSTOM_ID"
CANNOT_ADD_USER_TO_ARCHIVED_THREADS = "CANNOT_ADD_USER_TO_ARCHIVED_THREADS"
CANNOT_GET_MEMBERS_OF_AN_UNJOINED_PRIVATE_THREAD = "CANNOT_GET_MEMBERS_OF_AN_UNJOINED_PRIVATE_THREAD"
CANNOT_LEAVE_ARCHIVED_THREAD = "CANNOT_LEAVE_ARCHIVED_THREAD"
CANNOT_REMOVE_FROM_ARCHIVED_THREAD = "CANNOT_REMOVE_FROM_ARCHIVED_THREAD"
CHANNEL_NOT_FOUND = "CHANNEL_NOT_FOUND"
CHANNEL_NOT_IN_GUILD = "CHANNEL_NOT_IN_GUILD"
CHANNEL_NOT_STAGE_VOICE = "CHANNEL_NOT_STAGE_VOICE"
CHANNEL_NOT_TEXT_BASED = "CHANNEL_NOT_TEXT_BASED"
COMPONENT_CUSTOM_ID_TOO_BIG = "COMPONENT_CUSTOM_ID_TOO_BIG"
COMPONENT_LABEL_TOO_BIG = "COMPONENT_LABEL_TOO_BIG"
COMPONENT_PLACEHOLDER_TOO_BIG = "COMPONENT_PLACEHOLDER_TOO_BIG"
COMPONENT_SELECT_MAX_VALUE_TOO_LOW = "COMPONENT_SELECT_MAX_VALUE_TOO_LOW"
COMPONENT_SELECT_MAX_VALUE_TOO_MANY = "COMPONENT_SELECT_MAX_VALUE_TOO_MANY"
COMPONENT_SELECT_MIN_HIGHER_THAN_MAX = "COMPONENT_SELECT_MIN_HIGHER_THAN_MAX"
COMPONENT_SELECT_MIN_VALUE_TOO_LOW = "COMPONENT_SELECT_MIN_VALUE_TOO_LOW"
COMPONENT_SELECT_MIN_VALUE_TOO_MANY = "COMPONENT_SELECT_MIN_VALUE_TOO_MANY"
COMPONENT_SELECT_MUST_BE_ALONE = "COMPONENT_SELECT_MUST_BE_ALONE"
COMPONENT_SELECT_OPTIONS_TOO_LOW = "COMPONENT_SELECT_OPTIONS_TOO_LOW"
COMPONENT_SELECT_OPTIONS_TOO_MANY = "COMPONENT_SELECT_OPTIONS_TOO_MANY"
DELETE_MESSAGES_MIN = "DELETE_MESSAGES_MIN"
GUILD_NEWS_CHANNEL_ONLY_SUPPORT_PUBLIC_THREADS = "GUILD_NEWS_CHANNEL_ONLY_SUPPORT_PUBLIC_THREADS"
GUILD_NOT_DISCOVERABLE = "GUILD_NOT_DISCOVERABLE"
GUILD_NOT_FOUND = "GUILD_NOT_FOUND"
GUILD_WIDGET_NOT_ENABLED = "GUILD_WIDGET_NOT_ENABLED"
HAVE_TO_BE_THE_CREATOR_OF_THE_THREAD_OR_HAVE_MANAGE_THREADS_TO_REMOVE_MEMBERS = "HAVE_TO_BE_THE_CREATOR_OF_THE_THREAD_OR_HAVE_MANAGE_THREADS_TO_REMOVE_MEMBERS"
INVALID_CONTEXT_MENU_COMMAND_DESCRIPTION = "INVALID_CONTEXT_MENU_COMMAND_DESCRIPTION"
INVALID_CONTEXT_MENU_COMMAND_NAME = "INVALID_CONTEXT_MENU_COMMAND_NAME"
INVALID_GET_MESSAGES_LIMIT = "INVALID_GET_MESSAGES_LIMIT"
INVALID_SLASH_DESCRIPTION = "INVALID_SLASH_DESCRIPTION"
INVALID_SLASH_NAME = "INVALID_SLASH_NAME"
INVALID_SLASH_OPTION_CHOICE_NAME = "INVALID_SLASH_OPTION_CHOICE_NAME"
INVALID_SLASH_OPTION_DESCRIPTION = "INVALID_SLASH_OPTION_DESCRIPTION"
INVALID_SLASH_OPTION_NAME = "INVALID_SLASH_OPTION_NAME"
INVALID_SLASH_OPTIONS = "INVALID_SLASH_OPTIONS"
INVALID_SLASH_OPTIONS_CHOICE_VALUE_TYPE = "INVALID_SLASH_OPTIONS_CHOICE_VALUE_TYPE"
INVALID_SLASH_OPTIONS_CHOICES = "INVALID_SLASH_OPTIONS_CHOICES"
INVALID_THREAD_PARENT_CHANNEL_TYPE = "INVALID_THREAD_PARENT_CHANNEL_TYPE"
INVALID_TOPIC_LENGTH = "INVALID_TOPIC_LENGTH"
INVALID_WEBHOOK_NAME = "INVALID_WEBHOOK_NAME"
INVALID_WEBHOOK_OPTIONS = "INVALID_WEBHOOK_OPTIONS"
INVITE_MAX_AGE_INVALID = "INVITE_MAX_AGE_INVALID"
INVITE_MAX_USES_INVALID = "INVITE_MAX_USES_INVALID"
MEMBER_NOT_FOUND = "MEMBER_NOT_FOUND"
MEMBER_NOT_IN_VOICE_CHANNEL = "MEMBER_NOT_IN_VOICE_CHANNEL"
MEMBER_SEARCH_LIMIT_TOO_HIGH = "MEMBER_SEARCH_LIMIT_TOO_HIGH"
MEMBER_SEARCH_LIMIT_TOO_LOW = "MEMBER_SEARCH_LIMIT_TOO_LOW"
MESSAGE_MAX_LENGTH = "MESSAGE_MAX_LENGTH"
MISSING_ADD_REACTIONS = "MISSING_ADD_REACTIONS"
MISSING_ADMINISTRATOR = "MISSING_ADMINISTRATOR"
MISSING_ATTACH_FILES = "MISSING_ATTACH_FILES"
MISSING_BAN_MEMBERS = "MISSING_BAN_MEMBERS"
MISSING_CHANGE_NICKNAME = "MISSING_CHANGE_NICKNAME"
MISSING_CONNECT = "MISSING_CONNECT"
MISSING_CREATE_INSTANT_INVITE = "MISSING_CREATE_INSTANT_INVITE"
MISSING_DEAFEN_MEMBERS = "MISSING_DEAFEN_MEMBERS"
MISSING_INTENT_GUILD_MEMBERS = "MISSING_INTENT_GUILD_MEMBERS"
MISSING_KICK_MEMBERS = "MISSING_KICK_MEMBERS"
MISSING_MANAGE_CHANNELS = "MISSING_MANAGE_CHANNELS"
MISSING_MANAGE_EMOJIS = "MISSING_MANAGE_EMOJIS"
MISSING_MANAGE_GUILD = "MISSING_MANAGE_GUILD"
MISSING_MANAGE_MESSAGES = "MISSING_MANAGE_MESSAGES"
MISSING_MANAGE_NICKNAMES = "MISSING_MANAGE_NICKNAMES"
MISSING_MANAGE_ROLES = "MISSING_MANAGE_ROLES"
MISSING_MANAGE_THREADS_AND_NOT_MEMBER = "MISSING_MANAGE_THREADS_AND_NOT_MEMBER"
MISSING_MANAGE_WEBHOOKS = "MISSING_MANAGE_WEBHOOKS"
MISSING_MENTION_EVERYONE = "MISSING_MENTION_EVERYONE"
MISSING_MOVE_MEMBERS = "MISSING_MOVE_MEMBERS"
MISSING_MUTE_MEMBERS = "MISSING_MUTE_MEMBERS"
MISSING_PRIORITY_SPEAKER = "MISSING_PRIORITY_SPEAKER"
MISSING_READ_MESSAGE_HISTORY = "MISSING_READ_MESSAGE_HISTORY"
MISSING_SEND_MESSAGES = "MISSING_SEND_MESSAGES"
MISSING_SEND_TTS_MESSAGES = "MISSING_SEND_TTS_MESSAGES"
MISSING_SPEAK = "MISSING_SPEAK"
MISSING_STREAM = "MISSING_STREAM"
MISSING_USE_EXTERNAL_EMOJIS = "MISSING_USE_EXTERNAL_EMOJIS"
MISSING_USE_VAD = "MISSING_USE_VAD"
MISSING_VIEW_AUDIT_LOG = "MISSING_VIEW_AUDIT_LOG"
MISSING_VIEW_CHANNEL = "MISSING_VIEW_CHANNEL"
MISSING_VIEW_GUILD_INSIGHTS = "MISSING_VIEW_GUILD_INSIGHTS"
NICKNAMES_MAX_LENGTH = "NICKNAMES_MAX_LENGTH"
NONCE_TOO_LONG = "NONCE_TOO_LONG"
NOT_A_THREAD_CHANNEL = "NOT_A_THREAD_CHANNEL"
ONLY_STRING_OR_INTEGER_OPTIONS_CAN_HAVE_CHOICES = "ONLY_STRING_OR_INTEGER_OPTIONS_CAN_HAVE_CHOICES"
PRUNE_MAX_DAYS = "PRUNE_MAX_DAYS"
PRUNE_MIN_DAYS = "PRUNE_MIN_DAYS"
RATE_LIMIT_RETRY_MAXED = "RATE_LIMIT_RETRY_MAXED"
REQUEST_CLIENT_ERROR = "REQUEST_CLIENT_ERROR"
REQUEST_SERVER_ERROR = "REQUEST_SERVER_ERROR"
REQUEST_UNKNOWN_ERROR = "REQUEST_UNKNOWN_ERROR"
ROLE_NOT_FOUND = "ROLE_NOT_FOUND"
RULES_CHANNEL_CANNOT_BE_DELETED = "RULES_CHANNEL_CANNOT_BE_DELETED"
SELECT_OPTION_LABEL_TOO_BIG = "SELECT_OPTION_LABEL_TOO_BIG"
SELECT_OPTION_TOO_MANY_DEFAULTS = "SELECT_OPTION_TOO_MANY_DEFAULTS"
SELECT_OPTION_VALUE_TOO_BIG = "SELECT_OPTION_VALUE_TOO_BIG"
TOO_MANY_ACTION_ROWS = "TOO_MANY_ACTION_ROWS"
TOO_MANY_COMPONENTS = "TOO_MANY_COMPONENTS"
TOO_MANY_SLASH_OPTION_CHOICES = "TOO_MANY_SLASH_OPTION_CHOICES"
TOO_MANY_SLASH_OPTIONS = "TOO_MANY_SLASH_OPTIONS"
UPDATES_CHANNEL_CANNOT_BE_DELETED = "UPDATES_CHANNEL_CANNOT_BE_DELETED"
USERNAME_INVALID_CHARACTER = "USERNAME_INVALID_CHARACTER"
USERNAME_INVALID_USERNAME = "USERNAME_INVALID_USERNAME"
USERNAME_MAX_LENGTH = "USERNAME_MAX_LENGTH"
USERNAME_MIN_LENGTH = "USERNAME_MIN_LENGTH"
YOU_CAN_NOT_DM_THE_BOT_ITSELF = "YOU_CAN_NOT_DM_THE_BOT_ITSELF"

Members

BOTS_HIGHEST_ROLE_TOO_LOW = "BOTS_HIGHEST_ROLE_TOO_LOW"
BUTTON_REQUIRES_CUSTOM_ID = "BUTTON_REQUIRES_CUSTOM_ID"
CANNOT_ADD_USER_TO_ARCHIVED_THREADS = "CANNOT_ADD_USER_TO_ARCHIVED_THREADS"
CANNOT_GET_MEMBERS_OF_AN_UNJOINED_PRIVATE_THREAD = "CANNOT_GET_MEMBERS_OF_AN_UNJOINED_PRIVATE_THREAD"
CANNOT_LEAVE_ARCHIVED_THREAD = "CANNOT_LEAVE_ARCHIVED_THREAD"
CANNOT_REMOVE_FROM_ARCHIVED_THREAD = "CANNOT_REMOVE_FROM_ARCHIVED_THREAD"
CHANNEL_NOT_FOUND = "CHANNEL_NOT_FOUND"
CHANNEL_NOT_IN_GUILD = "CHANNEL_NOT_IN_GUILD"
CHANNEL_NOT_STAGE_VOICE = "CHANNEL_NOT_STAGE_VOICE"
CHANNEL_NOT_TEXT_BASED = "CHANNEL_NOT_TEXT_BASED"
COMPONENT_CUSTOM_ID_TOO_BIG = "COMPONENT_CUSTOM_ID_TOO_BIG"
COMPONENT_LABEL_TOO_BIG = "COMPONENT_LABEL_TOO_BIG"
COMPONENT_PLACEHOLDER_TOO_BIG = "COMPONENT_PLACEHOLDER_TOO_BIG"
COMPONENT_SELECT_MAX_VALUE_TOO_LOW = "COMPONENT_SELECT_MAX_VALUE_TOO_LOW"
COMPONENT_SELECT_MAX_VALUE_TOO_MANY = "COMPONENT_SELECT_MAX_VALUE_TOO_MANY"
COMPONENT_SELECT_MIN_HIGHER_THAN_MAX = "COMPONENT_SELECT_MIN_HIGHER_THAN_MAX"
COMPONENT_SELECT_MIN_VALUE_TOO_LOW = "COMPONENT_SELECT_MIN_VALUE_TOO_LOW"
COMPONENT_SELECT_MIN_VALUE_TOO_MANY = "COMPONENT_SELECT_MIN_VALUE_TOO_MANY"
COMPONENT_SELECT_MUST_BE_ALONE = "COMPONENT_SELECT_MUST_BE_ALONE"
COMPONENT_SELECT_OPTIONS_TOO_LOW = "COMPONENT_SELECT_OPTIONS_TOO_LOW"
COMPONENT_SELECT_OPTIONS_TOO_MANY = "COMPONENT_SELECT_OPTIONS_TOO_MANY"
DELETE_MESSAGES_MIN = "DELETE_MESSAGES_MIN"
GUILD_NEWS_CHANNEL_ONLY_SUPPORT_PUBLIC_THREADS = "GUILD_NEWS_CHANNEL_ONLY_SUPPORT_PUBLIC_THREADS"
GUILD_NOT_DISCOVERABLE = "GUILD_NOT_DISCOVERABLE"
GUILD_NOT_FOUND = "GUILD_NOT_FOUND"
GUILD_WIDGET_NOT_ENABLED = "GUILD_WIDGET_NOT_ENABLED"
HAVE_TO_BE_THE_CREATOR_OF_THE_THREAD_OR_HAVE_MANAGE_THREADS_TO_REMOVE_MEMBERS = "HAVE_TO_BE_THE_CREATOR_OF_THE_THREAD_OR_HAVE_MANAGE_THREADS_TO_REMOVE_MEMBERS"
INVALID_CONTEXT_MENU_COMMAND_DESCRIPTION = "INVALID_CONTEXT_MENU_COMMAND_DESCRIPTION"
INVALID_CONTEXT_MENU_COMMAND_NAME = "INVALID_CONTEXT_MENU_COMMAND_NAME"
INVALID_GET_MESSAGES_LIMIT = "INVALID_GET_MESSAGES_LIMIT"
INVALID_SLASH_DESCRIPTION = "INVALID_SLASH_DESCRIPTION"
INVALID_SLASH_NAME = "INVALID_SLASH_NAME"
INVALID_SLASH_OPTION_CHOICE_NAME = "INVALID_SLASH_OPTION_CHOICE_NAME"
INVALID_SLASH_OPTION_DESCRIPTION = "INVALID_SLASH_OPTION_DESCRIPTION"
INVALID_SLASH_OPTION_NAME = "INVALID_SLASH_OPTION_NAME"
INVALID_SLASH_OPTIONS = "INVALID_SLASH_OPTIONS"
INVALID_SLASH_OPTIONS_CHOICE_VALUE_TYPE = "INVALID_SLASH_OPTIONS_CHOICE_VALUE_TYPE"
INVALID_SLASH_OPTIONS_CHOICES = "INVALID_SLASH_OPTIONS_CHOICES"
INVALID_THREAD_PARENT_CHANNEL_TYPE = "INVALID_THREAD_PARENT_CHANNEL_TYPE"
INVALID_TOPIC_LENGTH = "INVALID_TOPIC_LENGTH"
INVALID_WEBHOOK_NAME = "INVALID_WEBHOOK_NAME"
INVALID_WEBHOOK_OPTIONS = "INVALID_WEBHOOK_OPTIONS"
INVITE_MAX_AGE_INVALID = "INVITE_MAX_AGE_INVALID"
INVITE_MAX_USES_INVALID = "INVITE_MAX_USES_INVALID"
MEMBER_NOT_FOUND = "MEMBER_NOT_FOUND"
MEMBER_NOT_IN_VOICE_CHANNEL = "MEMBER_NOT_IN_VOICE_CHANNEL"
MEMBER_SEARCH_LIMIT_TOO_HIGH = "MEMBER_SEARCH_LIMIT_TOO_HIGH"
MEMBER_SEARCH_LIMIT_TOO_LOW = "MEMBER_SEARCH_LIMIT_TOO_LOW"
MESSAGE_MAX_LENGTH = "MESSAGE_MAX_LENGTH"
MISSING_ADD_REACTIONS = "MISSING_ADD_REACTIONS"
MISSING_ADMINISTRATOR = "MISSING_ADMINISTRATOR"
MISSING_ATTACH_FILES = "MISSING_ATTACH_FILES"
MISSING_BAN_MEMBERS = "MISSING_BAN_MEMBERS"
MISSING_CHANGE_NICKNAME = "MISSING_CHANGE_NICKNAME"
MISSING_CONNECT = "MISSING_CONNECT"
MISSING_CREATE_INSTANT_INVITE = "MISSING_CREATE_INSTANT_INVITE"
MISSING_DEAFEN_MEMBERS = "MISSING_DEAFEN_MEMBERS"
MISSING_INTENT_GUILD_MEMBERS = "MISSING_INTENT_GUILD_MEMBERS"
MISSING_KICK_MEMBERS = "MISSING_KICK_MEMBERS"
MISSING_MANAGE_CHANNELS = "MISSING_MANAGE_CHANNELS"
MISSING_MANAGE_EMOJIS = "MISSING_MANAGE_EMOJIS"
MISSING_MANAGE_GUILD = "MISSING_MANAGE_GUILD"
MISSING_MANAGE_MESSAGES = "MISSING_MANAGE_MESSAGES"
MISSING_MANAGE_NICKNAMES = "MISSING_MANAGE_NICKNAMES"
MISSING_MANAGE_ROLES = "MISSING_MANAGE_ROLES"
MISSING_MANAGE_THREADS_AND_NOT_MEMBER = "MISSING_MANAGE_THREADS_AND_NOT_MEMBER"
MISSING_MANAGE_WEBHOOKS = "MISSING_MANAGE_WEBHOOKS"
MISSING_MENTION_EVERYONE = "MISSING_MENTION_EVERYONE"
MISSING_MOVE_MEMBERS = "MISSING_MOVE_MEMBERS"
MISSING_MUTE_MEMBERS = "MISSING_MUTE_MEMBERS"
MISSING_PRIORITY_SPEAKER = "MISSING_PRIORITY_SPEAKER"
MISSING_READ_MESSAGE_HISTORY = "MISSING_READ_MESSAGE_HISTORY"
MISSING_SEND_MESSAGES = "MISSING_SEND_MESSAGES"
MISSING_SEND_TTS_MESSAGES = "MISSING_SEND_TTS_MESSAGES"
MISSING_SPEAK = "MISSING_SPEAK"
MISSING_STREAM = "MISSING_STREAM"
MISSING_USE_EXTERNAL_EMOJIS = "MISSING_USE_EXTERNAL_EMOJIS"
MISSING_USE_VAD = "MISSING_USE_VAD"
MISSING_VIEW_AUDIT_LOG = "MISSING_VIEW_AUDIT_LOG"
MISSING_VIEW_CHANNEL = "MISSING_VIEW_CHANNEL"
MISSING_VIEW_GUILD_INSIGHTS = "MISSING_VIEW_GUILD_INSIGHTS"
NICKNAMES_MAX_LENGTH = "NICKNAMES_MAX_LENGTH"
NONCE_TOO_LONG = "NONCE_TOO_LONG"
NOT_A_THREAD_CHANNEL = "NOT_A_THREAD_CHANNEL"
ONLY_STRING_OR_INTEGER_OPTIONS_CAN_HAVE_CHOICES = "ONLY_STRING_OR_INTEGER_OPTIONS_CAN_HAVE_CHOICES"
PRUNE_MAX_DAYS = "PRUNE_MAX_DAYS"
PRUNE_MIN_DAYS = "PRUNE_MIN_DAYS"
RATE_LIMIT_RETRY_MAXED = "RATE_LIMIT_RETRY_MAXED"
REQUEST_CLIENT_ERROR = "REQUEST_CLIENT_ERROR"
REQUEST_SERVER_ERROR = "REQUEST_SERVER_ERROR"
REQUEST_UNKNOWN_ERROR = "REQUEST_UNKNOWN_ERROR"
ROLE_NOT_FOUND = "ROLE_NOT_FOUND"
RULES_CHANNEL_CANNOT_BE_DELETED = "RULES_CHANNEL_CANNOT_BE_DELETED"
SELECT_OPTION_LABEL_TOO_BIG = "SELECT_OPTION_LABEL_TOO_BIG"
SELECT_OPTION_TOO_MANY_DEFAULTS = "SELECT_OPTION_TOO_MANY_DEFAULTS"
SELECT_OPTION_VALUE_TOO_BIG = "SELECT_OPTION_VALUE_TOO_BIG"
TOO_MANY_ACTION_ROWS = "TOO_MANY_ACTION_ROWS"
TOO_MANY_COMPONENTS = "TOO_MANY_COMPONENTS"
TOO_MANY_SLASH_OPTION_CHOICES = "TOO_MANY_SLASH_OPTION_CHOICES"
TOO_MANY_SLASH_OPTIONS = "TOO_MANY_SLASH_OPTIONS"
UPDATES_CHANNEL_CANNOT_BE_DELETED = "UPDATES_CHANNEL_CANNOT_BE_DELETED"
USERNAME_INVALID_CHARACTER = "USERNAME_INVALID_CHARACTER"
USERNAME_INVALID_USERNAME = "USERNAME_INVALID_USERNAME"
USERNAME_MAX_LENGTH = "USERNAME_MAX_LENGTH"
USERNAME_MIN_LENGTH = "USERNAME_MIN_LENGTH"
YOU_CAN_NOT_DM_THE_BOT_ITSELF = "YOU_CAN_NOT_DM_THE_BOT_ITSELF"