Skip to content

Commit cfaf85e

Browse files
authored
Update the note about the default GQLSTATUS code 50N42 (#1992) (#1993)
Cherry-picked from #1992
1 parent eb4c3a1 commit cfaf85e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

modules/ROOT/pages/monitoring/logging.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1300,9 +1300,10 @@ The query log includes the GQL error information under the JSON object `errorInf
13001300

13011301
[NOTE]
13021302
====
1303-
The default GQLSTATUS code `50N42` is returned when an exception does not have a GQL object.
1304-
Starting from Neo4j 5.25, GQL objects are added to exceptions; therefore, you can expect many `50N42` codes.
1305-
However, it's important not to rely on this default code, as future Neo4j versions might change it by adding an appropriate GQL object to the exception.
1303+
The default GQLSTATUS code 50N42 is returned when an exception does not have a GQL-status object.
1304+
Starting from Neo4j 5.25, we started adding GQL objects to exceptions.
1305+
Therefore, you can expect many 50N42 codes during this transition period.
1306+
However, it is important not to rely on this default code, as future Neo4j versions might change it by adding an appropriate GQL object to the exception.
13061307
Additionally, GQL codes for external procedures are not yet stable.
13071308
====
13081309

0 commit comments

Comments
 (0)