package com.bocloud.ims.common.utils;

/**
 * 提示信息，错误码对应类
 */
public class MessageUtils {

    public static final String CODE_0001 = "请求cmp更新物理机[%s]状态失败:%s";
    public static final String CODE_0002 = "新增物理机[%s]失败,设置机器从网络启动失败";
    public static final String CODE_0003 = "物理机[%s]ipmi信息异常，请编辑ipmi信息";
    public static final String CODE_0004 = "更新物理机状态为%s到cmp失败";

    public static String get(String code, Object... args) {
        return String.format(code, args);
    }
}
