public int getErrCode() {
        return errCode;
    }
@Test
    void testConstructorWithErrorCodeAndCause() {
        NacosRuntimeException exception = new NacosRuntimeException(NacosException.INVALID_PARAM,
                new RuntimeException("test"));
        assertEquals(NacosException.INVALID_PARAM, exception.getErrCode());
        assertEquals("java.lang.RuntimeException: test", exception.getMessage());
        assertTrue(exception.getCause() instanceof RuntimeException);
    }