@Nullable
    public static Exception url(@Nullable String url) {
        if (url != null) {
            try {
                URI.create(url)
                        .toURL();
            } catch (Exception e) {
                return e;
            }
        }
        return null;
    }
@param min if -1, it means the string cannot be null
turms-server-common/src/main/java/im/turms/server/common/infra/validation/Validator.java