Skip to content

Commit 2d28470

Browse files
committed
Add errors for unsupported combinations with path modes
1 parent 0d4d229 commit 2d28470

File tree

5 files changed

+27
-1
lines changed

5 files changed

+27
-1
lines changed

modules/ROOT/content-nav.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,8 @@
325325
**** xref:errors/gql-errors/42N57.adoc[]
326326
**** xref:errors/gql-errors/42N58.adoc[]
327327
**** xref:errors/gql-errors/42N59.adoc[]
328+
**** xref:errors/gql-errors/42N60.adoc[]
329+
**** xref:errors/gql-errors/42N61.adoc[]
328330
**** xref:errors/gql-errors/42N62.adoc[]
329331
**** xref:errors/gql-errors/42N63.adoc[]
330332
**** xref:errors/gql-errors/42N64.adoc[]

modules/ROOT/pages/errors/gql-errors/42I39.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= 42I39
22

33
== Status description
4-
error: syntax error or access rule violation - invalid use of shortest path function. Mixing the `{ <<fun>> }` function with path selectors or explicit match modes is not allowed.
4+
error: syntax error or access rule violation - invalid use of shortest path function. Mixing the `{ <<fun>> }` function with path selectors, explicit match modes or explicit path modes is not allowed.
55

66
ifndef::backend-pdf[]
77
[discrete.glossary]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
= 42N60
2+
3+
== Status description
4+
error: syntax error or access rule violation - unsupported combination of match mode and path mode. REPEATABLE ELEMENTS with `{ <<pathMode>> }` path mode is not supported.
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+
= 42N61
2+
3+
== Status description
4+
error: syntax error or access rule violation - unsupported mixing of different path modes. Mixing `{ <<pathModeList>> }` in the same graph pattern is not supported. Split the pattern into separate MATCH clauses instead.
5+
6+
ifndef::backend-pdf[]
7+
[discrete.glossary]
8+
== Glossary
9+
10+
include::partial$glossary.adoc[]
11+
endif::[]

modules/ROOT/partials/glossary.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@
8181
[[param]]$param:: Parameter name, for example, `$pattern`.
8282
[[paramList]]$paramList:: A list of parameters, for example `$pattern, $prop`.
8383
[[pat]]$pat:: Pattern, for example, `(:Person)`.
84+
[[pathMode]]$pathMode:: GPM path mode, for example, `ACYCLIC`.
85+
[[pathModeList]]$pathModeList:: A list of GPM path modes, for example, `TRAIL, ACYCLIC`.
8486
[[port]]$port:: Port name, for example, `6362`.
8587
[[portList]]$portList:: A list of port names, for example, `6362, 6000, 7000`.
8688
[[pos]]$pos:: A position, for example, in a sequence, for example, `2`

0 commit comments

Comments
 (0)