Skip to content

Commit f42d50b

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

File tree

15 files changed

+234
-1
lines changed

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::[]

0 commit comments

Comments
 (0)