package cn.iocoder.yudao.module.ocr.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

/**
 * OCR 错误码枚举类
 *
 * ocr 系统，使用 1-009-000-000 段
 */
public interface ErrorCodeConstants {

    // ========== OCR 识别 1-009-001-000 ==========
    ErrorCode OCR_PROVIDER_NOT_SUPPORTED = new ErrorCode(1_009_001_000, "不支持的 OCR 厂商");
    ErrorCode OCR_SCENE_NOT_SUPPORTED = new ErrorCode(1_009_001_001, "不支持的识别场景");
    ErrorCode OCR_IMAGE_INVALID = new ErrorCode(1_009_001_002, "图片格式不正确或已损坏");
    ErrorCode OCR_IMAGE_TOO_LARGE = new ErrorCode(1_009_001_003, "图片大小超过限制");
    ErrorCode OCR_RECOGNIZE_FAILED = new ErrorCode(1_009_001_004, "识别失败");
    ErrorCode OCR_CLIENT_CONFIG_INVALID = new ErrorCode(1_009_001_005, "OCR 客户端配置无效");

}
