package com.multictrl.common.exception;

/**
 * 错误编码，由5位数字组成，前2位为模块编码，后3位为业务编码
 * <p>
 * 如：10001（10代表系统模块，001代表业务代码）
 * </p>
 *
 * @author Sdy
 * @since 1.0.0
 */
public interface ErrorCode {
    int INTERNAL_SERVER_ERROR = 500;
    int UNAUTHORIZED = 401;

    int NOT_NULL = 10001;
    int DB_RECORD_EXISTS = 10002;
    int PARAMS_GET_ERROR = 10003;
    int ACCOUNT_PASSWORD_ERROR = 10004;
    int ACCOUNT_DISABLE = 10005;
    int IDENTIFIER_NOT_NULL = 10006;
    int CAPTCHA_ERROR = 10007;
    int SUB_MENU_EXIST = 10008;
    int PASSWORD_ERROR = 10009;
    int SUPERIOR_DEPT_ERROR = 10011;
    int SUPERIOR_MENU_ERROR = 10012;
    int DATA_SCOPE_PARAMS_ERROR = 10013;
    int DEPT_SUB_DELETE_ERROR = 10014;
    int DEPT_USER_DELETE_ERROR = 10015;
    int UPLOAD_FILE_EMPTY = 10019;
    int TOKEN_NOT_EMPTY = 10020;
    int TOKEN_INVALID = 10021;
    int ACCOUNT_LOCK = 10022;
    int OSS_UPLOAD_FILE_ERROR = 10024;
    int OSS_CREATE_BUCKET_ERROR = 10025;
    int OSS_REMOVE_BUCKET_ERROR = 10026;
    int REDIS_ERROR = 10027;
    int JOB_ERROR = 10028;
    int INVALID_SYMBOL = 10029;
    int OSS_REMOVE_FILE_ERROR = 10030;

    int ROUTE_EXIST = 20001;
    int PARAMS_ERROR = 20002;
    int DOCK_NOT_REPLY = 20003;
    int DOCK_EXEC_SUCCESS = 20004;
    int DOCK_VIDEO_ID_NOT_EXIST = 20005;
    int UAV_VIDEO_ID_NOT_EXIST = 20006;
    int DOCK_OSD_NOT_EXIST = 20007;
    int DOCK_MODE_NOT_IDLE = 20008;
    int DOCK_LAND_POINT_NOT_EXIST = 20009;
    int DOCK_MODE_NOT_WORKING = 20010;
    int ROUTE_TASK_IS_RUNNING = 20011;
    int DOCK_NOT_REGISTER = 20012;
    int UAV_CAMERA_INDEX_NOT_EXIST = 20013;
    int ROUTE_NOT_EXIST = 20014;
    int ROUTE_KMZ_NOT_EXIST = 20015;
    int CONVERSION_FAILED = 20016;
    int GLOBAL_RTH_HEIGHT_NOT_BELOW = 20017;
    int ROUTE_TASK_NOT_EXIST = 20018;
    int UAV_SPEAKER_INDEX_NOT_EXIST = 20019;
    int FIRMWARE_NOT_OFFICIAL = 20020;
    int DEVICE_FIRMWARE_EXIST = 20021;
    int FIRMWARE_NOT_EXIST = 20022;
    int UAV_NOT_REGISTER = 20023;
    int SPEAKER_NAME_EXIST = 20024;
    int FILE_NOT_EXIST = 20025;
    int UAV_LIGHT_INDEX_NOT_EXIST = 20026;
    int DICT_NOT_DELETE = 20027;
    int DICT_EXIST = 20028;
}
