Component evidence
Defines error codes and messages for warehouse management system modules. Reuse when standardizing exception handling in inventory applications.
// Source: https://github.com/YunaiV/yudao-cloud | License: MIT | Copyright 2021 yudao-cloud
// Provided via justclaw.it.com; keep this notice with the code.
package cn.iocoder.yudao.module.wms.enums;
import cn.iocoder.yudao.framework.common.exception.ErrorCode;
/**
* WMS 错误码枚举类
* <p>
* wms 系统,使用 1-060-000-000 段
*/
public interface ErrorCodeConstants {
// ========== WMS 基础数据-仓库 1-060-100-000 ==========
ErrorCode WAREHOUSE_NOT_EXISTS = new ErrorCode(1_060_100_000, "仓库不存在");
ErrorCode WAREHOUSE_NAME_DUPLICATE = new ErrorCode(1_060_100_001, "仓库名称重复");
ErrorCode WAREHOUSE_CODE_DUPLICATE = new ErrorCode(1_060_100_002, "仓库编号重复");
ErrorCode WAREHOUSE_HAS_ORDER = new ErrorCode(1_060_100_004, "删除失败!仓库已被{}使用!");
ErrorCode WAREHOUSE_HAS_INVENTORY = new ErrorCode(1_060_1
... (truncated -- full source via MCP)