public static Response build(int errorCode, String msg) {
        ErrorResponse response = new ErrorResponse();
        response.setErrorInfo(errorCode, msg);
        return response;
    }
@Test
    void testBuildWithThrowable() {
        String errMsg = "exception msg";
        RuntimeException runtimeException = new RuntimeException(errMsg);
        
        Response response = ErrorResponse.build(runtimeException);
        
        assertEquals(ResponseCode.FAIL.getCode(), response.getErrorCode());
        assertEquals(ResponseCode.FAIL.getCode(), response.getResultCode());
        assertEquals(errMsg, response.getMessage());
    }