Skip to content

Commit 93f19db

Browse files
Final surface codes (#301)
Codes needed to cover errors left over in deperected constructors. [Monorepo PR](neo-technology/neo4j#30680). --------- Co-authored-by: Reneta Popova <[email protected]>
1 parent 41a47ad commit 93f19db

File tree

11 files changed

+130
-3
lines changed

11 files changed

+130
-3
lines changed

modules/ROOT/content-nav.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,14 @@
242242
**** xref:errors/gql-errors/42I51.adoc[]
243243
**** xref:errors/gql-errors/42I52.adoc[]
244244
**** xref:errors/gql-errors/42I53.adoc[]
245+
**** xref:errors/gql-errors/42I54.adoc[]
246+
**** xref:errors/gql-errors/42I55.adoc[]
247+
**** xref:errors/gql-errors/42I56.adoc[]
248+
**** xref:errors/gql-errors/42I57.adoc[]
249+
**** xref:errors/gql-errors/42I58.adoc[]
250+
**** xref:errors/gql-errors/42I59.adoc[]
251+
**** xref:errors/gql-errors/42I60.adoc[]
252+
**** xref:errors/gql-errors/42I61.adoc[]
245253
**** xref:errors/gql-errors/42N00.adoc[]
246254
**** xref:errors/gql-errors/42N01.adoc[]
247255
**** xref:errors/gql-errors/42N02.adoc[]
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::[]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
= 42I60
2+
3+
== Status description
4+
error: syntax error or access rule violation - invalid glob escaping. Each part of the glob (a block of text up until a dot) must either be fully escaped or not escaped at all.
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+
= 42I61
2+
3+
== Status description
4+
error: syntax error or access rule violation - missing LOOKUP INDEX function name. Missing function name for the LOOKUP INDEX.
5+
6+
ifndef::backend-pdf[]
7+
[discrete.glossary]
8+
== Glossary
9+
10+
include::partial$glossary.adoc[]
11+
endif::[]

modules/ROOT/pages/errors/gql-errors/index.adoc

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ Status description:: error: syntax error or access rule violation - invalid use
892892

893893
=== xref:errors/gql-errors/42I30.adoc[42I30]
894894

895-
Status description:: error: syntax error or access rule violation - invalid use of label expressions. Label expressions cannot be used in `{ <<expr>> }`.
895+
Status description:: error: syntax error or access rule violation - invalid use of label expressions. Label expressions cannot be used in `{ <<expr>> }`.
896896

897897
=== xref:errors/gql-errors/42I31.adoc[42I31]
898898

@@ -978,11 +978,41 @@ Status description:: info: invalid call signature. The procedure or function `{
978978

979979
Status description:: error: syntax error or access rule violation - no longer valid syntax. `{ <<msg>> }`
980980

981-
982981
=== xref:errors/gql-errors/42I53.adoc[42I53]
983982

984983
Status description:: error: syntax error or access rule violation - unsupported coordinate type. Unknown coordinate type: `{ <<input>> }`.
985984

985+
=== xref:errors/gql-errors/42I54.adoc[42I54]
986+
987+
Status description:: error: syntax error or access rule violation - invalid use of `INSERT`. `{ <<cause>> }` is not allowed in `INSERT`. Use `CREATE` or `{ <<replacement>> }`.
988+
989+
=== xref:errors/gql-errors/42I55.adoc[42I55]
990+
991+
Status description:: error: syntax error or access rule violation - invalid use of dynamic label or type. Dynamic `{ <<tokenType>> }` using `$any()` are not allowed in `{ <<clause>> }`.
992+
993+
=== xref:errors/gql-errors/42I56.adoc[42I56]
994+
995+
Status description:: error: syntax error or access rule violation - invalid relationship direction. Only directed relationships are supported in `{ <<clause>>}`.
996+
997+
=== xref:errors/gql-errors/42I57.adoc[42I57]
998+
999+
Status description:: error: syntax error or access rule violation - invalid query ending. `{<<exprType>>}` cannot contain a query ending with `{<<clause>>}`.
1000+
1001+
=== xref:errors/gql-errors/42I58.adoc[42I58]
1002+
1003+
Status description:: error: syntax error or access rule violation - invalid entity reference. Entity, `{<<expr>>}`, cannot be created and referenced in the same clause.
1004+
1005+
=== xref:errors/gql-errors/42I59.adoc[42I59]
1006+
1007+
Status description:: error: syntax error or access rule violation - dynamic entity type not allowed. Dynamic label and types are only allowed in `{ <<clauseList>> }` clauses.
1008+
1009+
=== xref:errors/gql-errors/42I60.adoc[42I60]
1010+
1011+
Status description:: error: syntax error or access rule violation - invalid glob escaping. Each part of the glob (a block of text up until a dot) must either be fully escaped or not escaped at all.
1012+
1013+
=== xref:errors/gql-errors/42I60.adoc[42I61]
1014+
1015+
Status description:: error: syntax error or access rule violation - missing LOOKUP INDEX function name. Missing function name for the LOOKUP INDEX.
9861016

9871017
[role=label--changed-2025.03]
9881018
=== xref:errors/gql-errors/42N00.adoc[42N00]
@@ -1099,7 +1129,7 @@ Status description:: error: syntax error or access rule violation - missing `WIT
10991129

11001130
=== xref:errors/gql-errors/42N25.adoc[42N25]
11011131

1102-
Status description:: error: syntax error or access rule violation - missing `YIELD`. Procedure call inside a query does not support naming results implicitly. Use `YIELD` instead.
1132+
Status description:: error: syntax error or access rule violation - missing `YIELD`. Procedure call inside a query does not support naming results implicitly. Use `YIELD` instead.
11031133

11041134
=== xref:errors/gql-errors/42N26.adoc[42N26]
11051135

0 commit comments

Comments
 (0)