Skip to content

Commit f42d50b

Browse files
Add errors implemented in the code (#304)
1 parent ba5cc44 commit f42d50b

15 files changed

+234
-1
lines changed

modules/ROOT/content-nav.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,15 @@
2626
**** xref:errors/gql-errors/08N16.adoc[]
2727
**** xref:errors/gql-errors/08N17.adoc[]
2828
**** xref:errors/gql-errors/08N18.adoc[]
29+
**** xref:errors/gql-errors/08N19.adoc[]
30+
**** xref:errors/gql-errors/08N20.adoc[]
31+
**** xref:errors/gql-errors/08N21.adoc[]
2932
*** xref:errors/gql-errors/index.adoc#data-exceptions[Data exceptions]
3033
**** xref:errors/gql-errors/22000.adoc[]
3134
**** xref:errors/gql-errors/22003.adoc[]
35+
**** xref:errors/gql-errors/22004.adoc[]
3236
**** xref:errors/gql-errors/22007.adoc[]
37+
**** xref:errors/gql-errors/22012.adoc[]
3338
**** xref:errors/gql-errors/22015.adoc[]
3439
**** xref:errors/gql-errors/22G03.adoc[]
3540
**** xref:errors/gql-errors/22G05.adoc[]
@@ -247,6 +252,7 @@
247252
**** xref:errors/gql-errors/42N07.adoc[]
248253
**** xref:errors/gql-errors/42N08.adoc[]
249254
**** xref:errors/gql-errors/42N09.adoc[]
255+
**** xref:errors/gql-errors/42N0A.adoc[]
250256
**** xref:errors/gql-errors/42N0B.adoc[]
251257
**** xref:errors/gql-errors/42N10.adoc[]
252258
**** xref:errors/gql-errors/42N11.adoc[]
@@ -275,6 +281,9 @@
275281
**** xref:errors/gql-errors/42N37.adoc[]
276282
**** xref:errors/gql-errors/42N38.adoc[]
277283
**** xref:errors/gql-errors/42N39.adoc[]
284+
**** xref:errors/gql-errors/42N3A.adoc[]
285+
**** xref:errors/gql-errors/42N3B.adoc[]
286+
**** xref:errors/gql-errors/42N3C.adoc[]
278287
**** xref:errors/gql-errors/42N40.adoc[]
279288
**** xref:errors/gql-errors/42N41.adoc[]
280289
**** xref:errors/gql-errors/42N42.adoc[]
@@ -353,6 +362,9 @@
353362
**** xref:errors/gql-errors/50N15.adoc[]
354363
**** xref:errors/gql-errors/50N16.adoc[]
355364
**** xref:errors/gql-errors/50N17.adoc[]
365+
**** xref:errors/gql-errors/50N18.adoc[]
366+
**** xref:errors/gql-errors/50N19.adoc[]
367+
**** xref:errors/gql-errors/50N20.adoc[]
356368
**** xref:errors/gql-errors/50N21.adoc[]
357369
**** xref:errors/gql-errors/50N23.adoc[]
358370
**** xref:errors/gql-errors/50N42.adoc[]
@@ -448,6 +460,7 @@
448460
**** xref:errors/gql-errors/52N17.adoc[]
449461
**** xref:errors/gql-errors/52N18.adoc[]
450462
**** xref:errors/gql-errors/52N19.adoc[]
463+
**** xref:errors/gql-errors/52N21.adoc[]
451464
**** xref:errors/gql-errors/52N22.adoc[]
452465
**** xref:errors/gql-errors/52N23.adoc[]
453466
**** xref:errors/gql-errors/52N24.adoc[]
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
= 08N19
2+
3+
== Status description
4+
error: connection exception - shard execution transient error. Communication with shard `{ <<graph>> }` failed. with message `{ <<msg>> }`.
5+
6+
7+
ifndef::backend-pdf[]
8+
[discrete.glossary]
9+
== Glossary
10+
11+
include::partial$glossary.adoc[]
12+
endif::[]
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
= 08N20
2+
3+
== Status description
4+
error: connection exception - shard execution database error. Communication with shard `{ <<graph>> }` failed. with message `{ <<msg>> }`.
5+
6+
7+
ifndef::backend-pdf[]
8+
[discrete.glossary]
9+
== Glossary
10+
11+
include::partial$glossary.adoc[]
12+
endif::[]
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
= 08N21
2+
3+
== Status description
4+
error: connection exception - shard execution client error. Communication with shard `{ <<graph>> }` failed. with message `{ <<msg>> }`.
5+
6+
7+
ifndef::backend-pdf[]
8+
[discrete.glossary]
9+
== Glossary
10+
11+
include::partial$glossary.adoc[]
12+
endif::[]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
= 22004
2+
3+
== Status description
4+
5+
error: data exception - null value not allowed
6+
7+
8+
ifndef::backend-pdf[]
9+
[discrete.glossary]
10+
== Glossary
11+
12+
include::partial$glossary.adoc[]
13+
endif::[]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
= 22012
2+
3+
== Status description
4+
5+
error: data exception - division by zero
6+
7+
8+
ifndef::backend-pdf[]
9+
[discrete.glossary]
10+
== Glossary
11+
12+
include::partial$glossary.adoc[]
13+
endif::[]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
= 42N0A
2+
3+
== Status description
4+
5+
error: syntax error or access rule violation - invalid shard target. `{ <<action>> }` is not allowed with a shard target. Connect to `{ <<db>>1 }` in order to read or write data from `{ db2 }`.
6+
7+
8+
ifndef::backend-pdf[]
9+
[discrete.glossary]
10+
== Glossary
11+
12+
include::partial$glossary.adoc[]
13+
endif::[]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
= 42N3A
2+
3+
== Status description
4+
5+
error: syntax error or access rule violation - incompatible conditional query. All `{ <<context>> }` need to either return rows or update the graph.
6+
7+
8+
ifndef::backend-pdf[]
9+
[discrete.glossary]
10+
== Glossary
11+
12+
include::partial$glossary.adoc[]
13+
endif::[]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
= 42N3B
2+
3+
== Status description
4+
5+
error: syntax error or access rule violation - incompatible number of return columns. All `{ <<context>> }` must return the same number of columns.
6+
7+
8+
ifndef::backend-pdf[]
9+
[discrete.glossary]
10+
== Glossary
11+
12+
include::partial$glossary.adoc[]
13+
endif::[]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
= 42N3C
2+
3+
== Status description
4+
5+
error: syntax error or access rule violation - invalid use of `CALL { ... }`. Not possible to enclose `{ <<clause>> }` in `CALL { ... }`. Use `CALL () { ... }` instead.
6+
7+
8+
ifndef::backend-pdf[]
9+
[discrete.glossary]
10+
== Glossary
11+
12+
include::partial$glossary.adoc[]
13+
endif::[]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
= 50N18
2+
3+
== Status description
4+
5+
error: general processing exception - shard execution transient error. Communication with shard `{ <<graph>> }` failed. See cause for more details.
6+
7+
8+
ifndef::backend-pdf[]
9+
[discrete.glossary]
10+
== Glossary
11+
12+
include::partial$glossary.adoc[]
13+
endif::[]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
= 50N19
2+
3+
== Status description
4+
5+
error: general processing exception - shard execution database error. Communication with shard `{ <<graph>> }` failed. See cause for more details.
6+
7+
8+
ifndef::backend-pdf[]
9+
[discrete.glossary]
10+
== Glossary
11+
12+
include::partial$glossary.adoc[]
13+
endif::[]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
= 50N20
2+
3+
== Status description
4+
5+
error: general processing exception - shard execution client error. Communication with shard `{ <<graph>> }` failed. See cause for more details.
6+
7+
8+
ifndef::backend-pdf[]
9+
[discrete.glossary]
10+
== Glossary
11+
12+
include::partial$glossary.adoc[]
13+
endif::[]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
= 52N21
2+
3+
== Status description
4+
5+
error: procedure exception - failed to clean the system graph. Failed to clean the system graph.
6+
7+
8+
ifndef::backend-pdf[]
9+
[discrete.glossary]
10+
== Glossary
11+
12+
include::partial$glossary.adoc[]
13+
endif::[]

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

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,19 @@ Status description:: error: connection exception - general driver transient erro
103103

104104
Status description:: error: connection exception - general driver database error. Remote execution failed with message `{ <<msg>> }`.
105105

106+
=== xref:errors/gql-errors/08N19.adoc[08N19]
107+
108+
Status description:: error: connection exception - shard execution transient error. Communication with shard `{ <<graph>> }` failed. with message `{ <<msg>> }`.
109+
110+
=== xref:errors/gql-errors/08N20.adoc[08N20]
111+
112+
Status description:: error: connection exception - shard execution database error. Communication with shard `{ <<graph>> }` failed. with message `{ <<msg>> }`.
113+
114+
=== xref:errors/gql-errors/08N21.adoc[08N21]
115+
116+
Status description:: error: connection exception - shard execution client error. Communication with shard `{ <<graph>> }` failed. with message `{ <<msg>> }`.
117+
118+
106119
[[data-exceptions]]
107120
== Data exceptions
108121

@@ -117,10 +130,18 @@ Status description:: error: data exception
117130

118131
Status description:: error: data exception - numeric value out of range. The numeric value `{ <<value>> }` is outside the required range.
119132

133+
=== xref:errors/gql-errors/22004.adoc[22004]
134+
135+
Status description:: error: data exception - null value not allowed
136+
120137
=== xref:errors/gql-errors/22007.adoc[22007]
121138

122139
Status description:: error: data exception - invalid date, time, or datetime format
123140

141+
=== xref:errors/gql-errors/22012.adoc[22012]
142+
143+
Status description:: error: data exception - division by zero
144+
124145
=== xref:errors/gql-errors/22015.adoc[22015]
125146

126147
Status description:: error: data exception - interval field overflow
@@ -1005,6 +1026,10 @@ Status description:: error: syntax error or access rule violation - no such proc
10051026

10061027
Status description:: error: syntax error or access rule violation - no such user. A user with the name `{ <<user>> }` was not found. Verify that the spelling is correct.
10071028

1029+
=== xref:errors/gql-errors/42N0A.adoc[42N0A]
1030+
1031+
Status description:: error: syntax error or access rule violation - invalid shard target. `{ <<action>> }` is not allowed with a shard target. Connect to `{ <<db>>1 }` in order to read or write data from `{ db2 }`.
1032+
10081033
=== xref:errors/gql-errors/42N0B.adoc[42N0B]
10091034

10101035
Status description:: error: syntax error or access rule violation - cannot replace sharded database. The database identified by `{ <<db>>1 }` is sharded. Drop the database `{ <<db>>2 }` before recreating.
@@ -1121,6 +1146,19 @@ Status description:: error: syntax error or access rule violation - duplicate re
11211146

11221147
Status description:: error: syntax error or access rule violation - incompatible return column names. All `{<<context>>}` must have the same return column names. Use `AS` to ensure columns have the same name.
11231148

1149+
=== xref:errors/gql-errors/42N3A.adoc[42N3A]
1150+
1151+
Status description:: error: syntax error or access rule violation - incompatible conditional query. All `{ <<context>> }` need to either return rows or update the graph.
1152+
1153+
=== xref:errors/gql-errors/42N3B.adoc[42N3B]
1154+
1155+
Status description:: error: syntax error or access rule violation - incompatible number of return columns. All `{ <<context>> }` must return the same number of columns.
1156+
1157+
=== xref:errors/gql-errors/42N3C.adoc[42N3C]
1158+
1159+
Status description:: error: syntax error or access rule violation - invalid use of `CALL { ... }`. Not possible to enclose `{ <<clause>> }` in `CALL { ... }`. Use `CALL () { ... }` instead.
1160+
1161+
11241162
=== xref:errors/gql-errors/42N40.adoc[42N40]
11251163

11261164
Status description:: error: syntax error or access rule violation - single relationship pattern required. The `{ <<fun>> }` function must contain one relationship pattern.
@@ -1135,7 +1173,7 @@ Status description:: error: syntax error or access rule violation - unsupported
11351173

11361174
=== xref:errors/gql-errors/42N44.adoc[42N44]
11371175

1138-
Status description:: error: syntax error or access rule violation - inaccessible variable. It is not possible to access the variable `{ <<var>> }` declared before the `{ <<clause>> }` clause when using `DISTINCT` or an aggregation.
1176+
Status description:: error: syntax error or access rule violation - inaccessible variable. It is not possible to access the variable `{ <<variable>> }` declared before the `{ <<clause>> }` clause when using `DISTINCT` or an aggregation.
11391177

11401178
=== xref:errors/gql-errors/42N45.adoc[42N45]
11411179

@@ -1439,6 +1477,18 @@ Status description:: error: general processing exception - remote execution tran
14391477

14401478
Status description:: error: general processing exception - remote execution database error. Remote execution failed. See cause for more details.
14411479

1480+
=== xref:errors/gql-errors/50N18.adoc[50N18]
1481+
1482+
Status description:: error: general processing exception - shard execution transient error. Communication with shard `{ <<graph>> }` failed. See cause for more details.
1483+
1484+
=== xref:errors/gql-errors/50N19.adoc[50N19]
1485+
1486+
Status description:: error: general processing exception - shard execution database error. Communication with shard `{ <<graph>> }` failed. See cause for more details.
1487+
1488+
=== xref:errors/gql-errors/50N20.adoc[50N20]
1489+
1490+
Status description:: error: general processing exception - shard execution client error. Communication with shard `{ <<graph>> }` failed. See cause for more details.
1491+
14421492
=== xref:errors/gql-errors/50N21.adoc[50N21]
14431493

14441494
Status description:: error: general processing exception - no such schema descriptor. The `{ <<schemaDescrType>> }` was not found for `{ <<schemaDescr>> }`. Verify that the spelling is correct.
@@ -1870,6 +1920,10 @@ Status description:: error: procedure exception - too many seeders. The number o
18701920

18711921
Status description:: error: procedure exception - no such seeder. The specified seeding server with id `{ <<server>> }` was not found. Verify that the spelling is correct.
18721922

1923+
=== xref:errors/gql-errors/52N21.adoc[52N21]
1924+
1925+
Status description:: error: procedure exception - failed to clean the system graph. Failed to clean the system graph.
1926+
18731927
=== xref:errors/gql-errors/52N22.adoc[52N22]
18741928

18751929
Status description:: error: procedure exception - invalid procedure argument. Invalid argument `{ <<field>> }` for `{ <<procParam>> }` on procedure `{ <<proc>> }`. The expected format of `{ <<procParam>> }` is `{ <<procParamFmt>> }`.

0 commit comments

Comments
 (0)