Fix flaky test by using a more generic error assertion
Fix flaky test by using a more generic error assertion

neo4j/neo4j-javascript-driver,neo4j/neo4j-javascript-driver,neo4j/neo4j-javascript-driver,neo4j/neo4j-javascript-driver,neo4j/neo4j-javascript-driver