Skip to content

Commit 2bc378f

Browse files
committed
Merge dev into main
2 parents fbd1224 + d5829c6 commit 2bc378f

File tree

20 files changed

+226
-15
lines changed

20 files changed

+226
-15
lines changed

antora.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: status-codes
22
title: Status Codes for Errors & Notifications
3-
version: '2025.04'
3+
version: '2025.05'
44
start_page: ROOT:index.adoc
55
nav:
66
- modules/ROOT/content-nav.adoc
77
asciidoc:
88
attributes:
99
page-origin-private: false
10-
neo4j-version: '2025.04'
11-
neo4j-version-exact: '2025.04.0'
12-
neo4j-buildnumber: '2025.04'
10+
neo4j-version: '2025.05'
11+
neo4j-version-exact: '2025.05.0'
12+
neo4j-buildnumber: '2025.05'

modules/ROOT/content-nav.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@
150150
**** xref:errors/gql-errors/22NB6.adoc[]
151151
**** xref:errors/gql-errors/22NB7.adoc[]
152152
**** xref:errors/gql-errors/22NB8.adoc[]
153+
**** xref:errors/gql-errors/22NB9.adoc[]
153154
*** xref:errors/gql-errors/index.adoc#invalid-transaction-state[Invalid transaction state]
154155
**** xref:errors/gql-errors/25G02.adoc[]
155156
**** xref:errors/gql-errors/25N01.adoc[]
@@ -242,6 +243,14 @@
242243
**** xref:errors/gql-errors/42I51.adoc[]
243244
**** xref:errors/gql-errors/42I52.adoc[]
244245
**** xref:errors/gql-errors/42I53.adoc[]
246+
**** xref:errors/gql-errors/42I54.adoc[]
247+
**** xref:errors/gql-errors/42I55.adoc[]
248+
**** xref:errors/gql-errors/42I56.adoc[]
249+
**** xref:errors/gql-errors/42I57.adoc[]
250+
**** xref:errors/gql-errors/42I58.adoc[]
251+
**** xref:errors/gql-errors/42I59.adoc[]
252+
**** xref:errors/gql-errors/42I60.adoc[]
253+
**** xref:errors/gql-errors/42I61.adoc[]
245254
**** xref:errors/gql-errors/42N00.adoc[]
246255
**** xref:errors/gql-errors/42N01.adoc[]
247256
**** xref:errors/gql-errors/42N02.adoc[]
@@ -479,6 +488,8 @@
479488
**** xref:errors/gql-errors/52N37.adoc[]
480489
**** xref:errors/gql-errors/52N38.adoc[]
481490
**** xref:errors/gql-errors/52N39.adoc[]
491+
**** xref:errors/gql-errors/52N40.adoc[]
492+
**** xref:errors/gql-errors/52N41.adoc[]
482493
**** xref:errors/gql-errors/52U00.adoc[]
483494
*** xref:errors/gql-errors/index.adoc#function-exceptions[Function exceptions]
484495
**** xref:errors/gql-errors/53N34.adoc[]

modules/ROOT/pages/errors/gql-errors/22N90.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
:page-role: changed-2025.05
12
= 22N90
23

34
== Status description
4-
error: data exception - property type unsupported in constraint. `{ <<item>> }` is not supported in property type constraints.
5+
error: data exception - property type unsupported in constraint. `{ <<valueType>> }` is not supported in property type constraints.
56

67
ifndef::backend-pdf[]
78
[discrete.glossary]
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
= 22NB9
2+
3+
== Status description
4+
5+
error: data exception - invalid inner list type. Lists cannot have `{ <<typeDescription>> }` as an inner type in this context.
6+
7+
== Example scenario
8+
9+
For example, try to create a property type constraint with a list of a union as property type:
10+
11+
[source,cypher]
12+
----
13+
CREATE CONSTRAINT myConstraint
14+
FOR (n:Label)
15+
REQUIRE n.prop IS :: LIST<INTEGER NOT NULL | FLOAT NOT NULL>
16+
----
17+
18+
You will receive an error with GQLSTATUS xref:errors/gql-errors/50N11.adoc[50N11].
19+
This error has a cause detailed in xref:errors/gql-errors/22N90.adoc[22N90], which also has a subsequent cause with GQLSTATUS 22NB9 and status description:
20+
21+
22+
[source]
23+
----
24+
error: data exception - invalid inner list type. Lists cannot have a union of types as an inner type in this context.
25+
----
26+
27+
28+
ifndef::backend-pdf[]
29+
[discrete.glossary]
30+
== Glossary
31+
32+
include::partial$glossary.adoc[]
33+
endif::[]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
= 42I54
2+
3+
== Status description
4+
error: syntax error or access rule violation - invalid use of `INSERT`. `{ <<cause>> }` is not allowed in `INSERT`. Use `CREATE` or `{ <<replacement>> }`.
5+
6+
ifndef::backend-pdf[]
7+
[discrete.glossary]
8+
== Glossary
9+
10+
include::partial$glossary.adoc[]
11+
endif::[]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
= 42I55
2+
3+
== Status description
4+
error: syntax error or access rule violation - invalid use of dynamic label or type. Dynamic `{ <<tokenType>> }` using `$any()` are not allowed in `{ <<clause>> }`.
5+
6+
ifndef::backend-pdf[]
7+
[discrete.glossary]
8+
== Glossary
9+
10+
include::partial$glossary.adoc[]
11+
endif::[]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
= 42I56
2+
3+
== Status description
4+
error: syntax error or access rule violation - invalid relationship direction. Only directed relationships are supported in `{ <<clause>>}`.
5+
6+
ifndef::backend-pdf[]
7+
[discrete.glossary]
8+
== Glossary
9+
10+
include::partial$glossary.adoc[]
11+
endif::[]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
= 42I57
2+
3+
== Status description
4+
error: syntax error or access rule violation - invalid query ending. `{<<exprType>>}` cannot contain a query ending with `{<<clause>>}`.
5+
6+
ifndef::backend-pdf[]
7+
[discrete.glossary]
8+
== Glossary
9+
10+
include::partial$glossary.adoc[]
11+
endif::[]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
= 42I58
2+
3+
== Status description
4+
error: syntax error or access rule violation - invalid entity reference. Entity, `{<<expr>>}`, cannot be created and referenced in the same clause.
5+
6+
ifndef::backend-pdf[]
7+
[discrete.glossary]
8+
== Glossary
9+
10+
include::partial$glossary.adoc[]
11+
endif::[]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
= 42I59
2+
3+
== Status description
4+
error: syntax error or access rule violation - dynamic entity type not allowed. Dynamic label and types are only allowed in `{ <<clauseList>> }` clauses.
5+
6+
ifndef::backend-pdf[]
7+
[discrete.glossary]
8+
== Glossary
9+
10+
include::partial$glossary.adoc[]
11+
endif::[]

0 commit comments

Comments
 (0)