corde
Version:
A simple library for Discord bot tests
25 lines (23 loc) • 901 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true,
});
exports.Errors = void 0;
exports.Errors = {
CONFIG_ERROR: "ConfigError",
CONFIG_ERROR_MESSAGE: "Invalid configuration",
TIMEOUT_ERROR: "TimeoutError",
TIMEOUT_ERROR_MESSAGE: "Timeout has occurred",
QUEUE_FUNCTION_ERROR: "QueueFunctionError",
QUEUE_FUNCTION_ERROR_MESSAGE: "A error occurred when executing a queued function",
CORDE_CLIENT_ERROR: "CordeClientError",
CORDE_CLIENT_ERROR_MESSAGE: "There is a problem with corde client",
DISCORD_ERROR: "DiscordError",
DISCORD_ERROR_MESSAGE: "Some Discord JS operation failed",
FILE_ERROR: "FileError",
FILE_ERROR_MESSAGE: "There is a problem when processing the file",
PROPERTY_ERROR: "PropertyError",
PROPERTY_ERROR_MESSAGE: "Required property not found",
TYPE_ERROR: "TypeError",
TYPE_ERROR_MESSAGE: "A error was found related to type",
};