UNPKG

sheweny

Version:

The powerful framework for create discord bots

15 lines (14 loc) 652 B
import type { ShewenyClient } from '../client/Client.js'; declare const Messages: { INVALID_CLASS: (name: string, path: string) => string; PATH_NOT_DEFINE: (classD: string, id: string) => string; MISSING_PROPERTY_CLASS: (property: string, path: string) => string; MISSING_PATH_LOADER: () => string; LOAD_ERROR: (path: string, err: string) => string; EXECUTE_ERROR: (evaluate: string, err: string) => string; EVAL_ERROR: (evaluate: string, err: string) => string; }; export declare class ShewenyError extends Error { constructor(client: ShewenyClient, err: keyof typeof Messages | Error, ...args: string[]); } export {};