/**
 * 
 * @date 2023-02-16 15:34:45
 * @author 鲜伟坚
 */
import { ErrCode } from "./ErrorCode";

interface CodeMsg<T> {
    code: ErrCode;
    msg?: T;
    err?: any;
}

class CodeMsgAny implements CodeMsg<any>{
    code: ErrCode;
    msg?: any;
    err?: any;
}

export { CodeMsg };
export { CodeMsgAny };