public RedisException(FrameworkErrorCode err) {
        super(err);
    }
@Test
    public void testRedisException() {
        Assertions.assertThrowsExactly(RedisException.class, () -> {
            throw new RedisException(FrameworkErrorCode.UnknownAppError);
        });
        Assertions.assertThrowsExactly(RedisException.class, () -> {
            throw new RedisException("error");
        });
        Assertions.assertThrowsExactly(RedisException.class, () -> {
            throw new RedisException("error", FrameworkErrorCode.UnknownAppError);
        });
        Assertions.assertThrowsExactly(RedisException.class, () -> {
            throw new RedisException(new Throwable("error"), "error", FrameworkErrorCode.UnknownAppError);
        });
        Assertions.assertThrowsExactly(RedisException.class, () -> {
            throw new RedisException(new Throwable("error"));
        });
        Assertions.assertThrowsExactly(RedisException.class, () -> {
            throw new RedisException(new Throwable("error"), "error");
        });

    }