From 6b83cbd56eb26bd34b31dc86bb786132a9ed213c Mon Sep 17 00:00:00 2001 From: robfrank Date: Sun, 6 Dec 2026 00:01:03 +0100 Subject: [PATCH] docs(#13726): toString/toInteger/toFloat/toBoolean of a wrong-kind value answer TypeError over Bolt --- src/main/asciidoc/how-to/connectivity/bolt.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/asciidoc/how-to/connectivity/bolt.adoc b/src/main/asciidoc/how-to/connectivity/bolt.adoc index 06204ea0c..8ff0921f0 100644 --- a/src/main/asciidoc/how-to/connectivity/bolt.adoc +++ b/src/main/asciidoc/how-to/connectivity/bolt.adoc @@ -591,7 +591,7 @@ Server errors are mapped to Neo4j-style structured status codes so driver-side e | `Neo.ClientError.Statement.SemanticError` | the statement parsed but is semantically invalid, or names a type, an index, a property or another schema object that does not exist. Since v26.12.1 the missing-object cases are all `SemanticError`; before, many were `UnknownError` | `Neo.ClientError.Procedure.ProcedureNotFound` | a `CALL` (or `OPTIONAL CALL`) of a procedure that does not exist. Since v26.12.1; before, `UnknownError` | `Neo.ClientError.Statement.AccessMode` | a write sent in a READ transaction or a READ auto-commit query (see <>). Since v26.12.1; before, the write ran -| `Neo.ClientError.Statement.TypeError` | a value cannot be stored in a property (a map, or a list containing one, see <>), or an operation met a value of a type it is not defined for while the query ran: a property read off a list (`UNWIND [[1]] AS l RETURN l.x`), an index into a value that is no list. Since v26.11.1 the runtime cases are `TypeError` too; before, `UnknownError` or `ArgumentError` +| `Neo.ClientError.Statement.TypeError` | a value cannot be stored in a property (a map, or a list containing one, see <>), or an operation met a value of a type it is not defined for while the query ran: a property read off a list (`UNWIND [[1]] AS l RETURN l.x`), an index into a value that is no list, or a list, map or node passed to `toString()`, `toInteger()`, `toFloat()` or `toBoolean()` (since v26.12.1, before it was `SemanticError`). Since v26.11.1 the runtime cases are `TypeError` too; before, `UnknownError` or `ArgumentError` | `Neo.ClientError.Transaction.TransactionNotFound` | a transaction reference is unknown | `Neo.ClientError.Schema.ConstraintValidationFailed` | a unique-index (constraint) violation, which is permanent, so drivers should not retry. Since v26.12.1 also a `DELETE` of a node that still has relationships (use `DETACH DELETE`); before, `UnknownError` | `Neo.ClientError.Statement.EntityNotFound` | an openCypher statement reads, sets or links a node it deleted earlier in the same statement (`MATCH (n:A) DELETE n RETURN n.x`). Since v26.12.1; before, `UnknownError`