class Result {

    public static Result errorWithArgs(Status status, Object... args) {
        return new Result(status.getCode(), MessageFormat.format(status.getMsg(), args));
    }

    public  Result();
    public  Result(Integer code, String msg);
    private  Result(T data);
    private  Result(Status status);

}