public String getErrMsg() {
        return errMsg;
    }
@Test
    public void testGetErrMsg() {
        // Create a Result with an error message
        Result<String> result = new Result<>(null, "Error", null);

        // Test the getErrMsg method
        assertEquals("Error", result.getErrMsg());
    }