/**
 * @license MIT
 * @copyright Copyright (c) 2026, GoldFrite
 */
/**
 * The error class for EMLLib.
 */
export class EMLLibError extends Error {
    constructor(code, message) {
        super(message);
        this.code = code;
    }
}
export const ErrorType = {
    MODULE_NOT_FOUND: 'MODULE_NOT_FOUND',
    UNKNOWN_ERROR: 'UNKNOWN_ERROR',
    TWOFA_CODE_REQUIRED: 'TWOFA_CODE_REQUIRED',
    AUTH_ERROR: 'AUTH_ERROR',
    AUTH_CANCELLED: 'AUTH_CANCELLED',
    HASH_ERROR: 'HASH_ERROR',
    DOWNLOAD_ERROR: 'DOWNLOAD_ERROR',
    UNKNOWN_OS: 'UNKNOWN_OS',
    FETCH_ERROR: 'FETCH_ERROR',
    NET_ERROR: 'NET_ERROR',
    FILE_ERROR: 'FILE_ERROR',
    EXEC_ERROR: 'EXEC_ERROR',
    JAVA_ERROR: 'JAVA_ERROR',
    PATCHER_ERROR: 'PATCHER_ERROR',
    MINECRAFT_ERROR: 'MINECRAFT_ERROR',
    CONFIG_ERROR: 'CONFIG_ERROR'
};
//# sourceMappingURL=errors.js.map