if (is_null($namespace)) {
            throw new Exception("Parameter 1 (namespace) cannot be empty");
        }